Interface GetBucketAclResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetBucketAclResponse.Builder,,GetBucketAclResponse> S3Response.Builder,SdkBuilder<GetBucketAclResponse.Builder,,GetBucketAclResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetBucketAclResponse
public static interface GetBucketAclResponse.Builder
extends S3Response.Builder, SdkPojo, CopyableBuilder<GetBucketAclResponse.Builder,GetBucketAclResponse>
-
Method Summary
Modifier and TypeMethodDescriptiongrants(Collection<Grant> grants) A list of grants.grants(Consumer<Grant.Builder>... grants) A list of grants.A list of grants.default GetBucketAclResponse.Builderowner(Consumer<Owner.Builder> owner) Container for the bucket owner's display name and ID.Container for the bucket owner's display name and ID.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.s3.model.S3Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
owner
Container for the bucket owner's display name and ID.
- Parameters:
owner- Container for the bucket owner's display name and ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
owner
Container for the bucket owner's display name and ID.
This is a convenience method that creates an instance of theOwner.Builderavoiding the need to create one manually viaOwner.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toowner(Owner).- Parameters:
owner- a consumer that will call methods onOwner.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
grants
A list of grants.
- Parameters:
grants- A list of grants.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grants
A list of grants.
- Parameters:
grants- A list of grants.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grants
A list of grants.
This is a convenience method that creates an instance of theGrant.Builderavoiding the need to create one manually viaGrant.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togrants(List<Grant>).- Parameters:
grants- a consumer that will call methods onGrant.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-