Interface GetBucketOwnershipControlsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetBucketOwnershipControlsResponse.Builder,GetBucketOwnershipControlsResponse>
,S3Response.Builder
,SdkBuilder<GetBucketOwnershipControlsResponse.Builder,GetBucketOwnershipControlsResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- GetBucketOwnershipControlsResponse
public static interface GetBucketOwnershipControlsResponse.Builder extends S3Response.Builder, SdkPojo, CopyableBuilder<GetBucketOwnershipControlsResponse.Builder,GetBucketOwnershipControlsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetBucketOwnershipControlsResponse.Builder
ownershipControls(Consumer<OwnershipControls.Builder> ownershipControls)
TheOwnershipControls
(BucketOwnerEnforced, BucketOwnerPreferred, or ObjectWriter) currently in effect for this Amazon S3 bucket.GetBucketOwnershipControlsResponse.Builder
ownershipControls(OwnershipControls ownershipControls)
TheOwnershipControls
(BucketOwnerEnforced, BucketOwnerPreferred, or ObjectWriter) currently in effect for this Amazon S3 bucket.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.s3.model.S3Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
ownershipControls
GetBucketOwnershipControlsResponse.Builder ownershipControls(OwnershipControls ownershipControls)
The
OwnershipControls
(BucketOwnerEnforced, BucketOwnerPreferred, or ObjectWriter) currently in effect for this Amazon S3 bucket.- Parameters:
ownershipControls
- TheOwnershipControls
(BucketOwnerEnforced, BucketOwnerPreferred, or ObjectWriter) currently in effect for this Amazon S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownershipControls
default GetBucketOwnershipControlsResponse.Builder ownershipControls(Consumer<OwnershipControls.Builder> ownershipControls)
The
This is a convenience method that creates an instance of theOwnershipControls
(BucketOwnerEnforced, BucketOwnerPreferred, or ObjectWriter) currently in effect for this Amazon S3 bucket.OwnershipControls.Builder
avoiding the need to create one manually viaOwnershipControls.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toownershipControls(OwnershipControls)
.- Parameters:
ownershipControls
- a consumer that will call methods onOwnershipControls.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ownershipControls(OwnershipControls)
-
-