CopyableBuilder<S3Action.Builder,S3Action>
, SdkBuilder<S3Action.Builder,S3Action>
public static interface S3Action.Builder extends CopyableBuilder<S3Action.Builder,S3Action>
Modifier and Type | Method | Description |
---|---|---|
S3Action.Builder |
bucketName(String bucketName) |
The Amazon S3 bucket.
|
S3Action.Builder |
cannedAcl(String cannedAcl) |
The Amazon S3 canned ACL that controls access to the object identified by the object key.
|
S3Action.Builder |
cannedAcl(CannedAccessControlList cannedAcl) |
The Amazon S3 canned ACL that controls access to the object identified by the object key.
|
S3Action.Builder |
key(String key) |
The object key.
|
S3Action.Builder |
roleArn(String roleArn) |
The ARN of the IAM role that grants access.
|
copy
apply, build
S3Action.Builder roleArn(String roleArn)
The ARN of the IAM role that grants access.
roleArn
- The ARN of the IAM role that grants access.S3Action.Builder bucketName(String bucketName)
The Amazon S3 bucket.
bucketName
- The Amazon S3 bucket.S3Action.Builder key(String key)
The object key.
key
- The object key.S3Action.Builder cannedAcl(String cannedAcl)
The Amazon S3 canned ACL that controls access to the object identified by the object key. For more information, see S3 canned ACLs.
cannedAcl
- The Amazon S3 canned ACL that controls access to the object identified by the object key. For more
information, see S3 canned ACLs.CannedAccessControlList
S3Action.Builder cannedAcl(CannedAccessControlList cannedAcl)
The Amazon S3 canned ACL that controls access to the object identified by the object key. For more information, see S3 canned ACLs.
cannedAcl
- The Amazon S3 canned ACL that controls access to the object identified by the object key. For more
information, see S3 canned ACLs.CannedAccessControlList
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.