Interface S3BucketAclGrantConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<S3BucketAclGrantConfiguration.Builder,
,S3BucketAclGrantConfiguration> SdkBuilder<S3BucketAclGrantConfiguration.Builder,
,S3BucketAclGrantConfiguration> SdkPojo
- Enclosing class:
S3BucketAclGrantConfiguration
public static interface S3BucketAclGrantConfiguration.Builder
extends SdkPojo, CopyableBuilder<S3BucketAclGrantConfiguration.Builder,S3BucketAclGrantConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiongrantee
(Consumer<AclGrantee.Builder> grantee) The grantee to whom you’re assigning access rights.grantee
(AclGrantee grantee) The grantee to whom you’re assigning access rights.permission
(String permission) The permissions being granted.permission
(AclPermission permission) The permissions being granted.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 Details
-
permission
The permissions being granted.
- Parameters:
permission
- The permissions being granted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
permission
The permissions being granted.
- Parameters:
permission
- The permissions being granted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
grantee
The grantee to whom you’re assigning access rights.
- Parameters:
grantee
- The grantee to whom you’re assigning access rights.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantee
The grantee to whom you’re assigning access rights.
This is a convenience method that creates an instance of theAclGrantee.Builder
avoiding the need to create one manually viaAclGrantee.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tograntee(AclGrantee)
.- Parameters:
grantee
- a consumer that will call methods onAclGrantee.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-