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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default S3BucketAclGrantConfiguration.Buildergrantee(Consumer<AclGrantee.Builder> grantee)The grantee to whom you’re assigning access rights.S3BucketAclGrantConfiguration.Buildergrantee(AclGrantee grantee)The grantee to whom you’re assigning access rights.S3BucketAclGrantConfiguration.Builderpermission(String permission)The permissions being granted.S3BucketAclGrantConfiguration.Builderpermission(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 Detail
-
permission
S3BucketAclGrantConfiguration.Builder permission(String 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:
AclPermission,AclPermission
-
permission
S3BucketAclGrantConfiguration.Builder permission(AclPermission 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:
AclPermission,AclPermission
-
grantee
S3BucketAclGrantConfiguration.Builder grantee(AclGrantee 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
default S3BucketAclGrantConfiguration.Builder grantee(Consumer<AclGrantee.Builder> grantee)
The grantee to whom you’re assigning access rights.
This is a convenience method that creates an instance of theAclGrantee.Builderavoiding the need to create one manually viaAclGrantee.builder().When the
Consumercompletes,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:
grantee(AclGrantee)
-
-