Interface S3Action.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<S3Action.Builder,S3Action>
,SdkBuilder<S3Action.Builder,S3Action>
,SdkPojo
- Enclosing class:
- S3Action
public static interface S3Action.Builder extends SdkPojo, CopyableBuilder<S3Action.Builder,S3Action>
-
-
Method Summary
All Methods Instance Methods Abstract Methods 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.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
roleArn
S3Action.Builder roleArn(String roleArn)
The ARN of the IAM role that grants access.
- Parameters:
roleArn
- The ARN of the IAM role that grants access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bucketName
S3Action.Builder bucketName(String bucketName)
The Amazon S3 bucket.
- Parameters:
bucketName
- The Amazon S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
key
S3Action.Builder key(String key)
The object key. For more information, see Actions, resources, and condition keys for Amazon S3.
- Parameters:
key
- The object key. For more information, see Actions, resources, and condition keys for Amazon S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cannedAcl
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.
- Parameters:
cannedAcl
- The Amazon S3 canned ACL that controls access to the object identified by the object key. For more information, see S3 canned ACLs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CannedAccessControlList
,CannedAccessControlList
-
cannedAcl
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.
- Parameters:
cannedAcl
- The Amazon S3 canned ACL that controls access to the object identified by the object key. For more information, see S3 canned ACLs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CannedAccessControlList
,CannedAccessControlList
-
-