Interface S3Grant.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<S3Grant.Builder,,S3Grant> SdkBuilder<S3Grant.Builder,,S3Grant> SdkPojo
- Enclosing class:
S3Grant
@Mutable
@NotThreadSafe
public static interface S3Grant.Builder
extends SdkPojo, CopyableBuilder<S3Grant.Builder,S3Grant>
-
Method Summary
Modifier and TypeMethodDescriptiondefault S3Grant.Buildergrantee(Consumer<S3Grantee.Builder> grantee) This is a convenience method that creates an instance of theS3Grantee.Builderavoiding the need to create one manually viaS3Grantee.builder().permission(String permission) permission(S3Permission permission) Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
grantee
- Parameters:
grantee-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantee
This is a convenience method that creates an instance of theS3Grantee.Builderavoiding the need to create one manually viaS3Grantee.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tograntee(S3Grantee).- Parameters:
grantee- a consumer that will call methods onS3Grantee.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
permission
- Parameters:
permission-- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
permission
- Parameters:
permission-- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-