Interface S3Grant.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<S3Grant.Builder,
,S3Grant> SdkBuilder<S3Grant.Builder,
,S3Grant> SdkPojo
- Enclosing class:
S3Grant
-
Method Summary
Modifier and TypeMethodDescriptiondefault S3Grant.Builder
grantee
(Consumer<S3Grantee.Builder> grantee) This is a convenience method that creates an instance of theS3Grantee.Builder
avoiding the need to create one manually viaS3Grantee.builder()
.permission
(String permission) permission
(S3Permission permission) 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
-
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.Builder
avoiding the need to create one manually viaS3Grantee.builder()
.When the
Consumer
completes,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:
-