Interface GetObjectAclResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetObjectAclResponse.Builder,
,GetObjectAclResponse> S3Response.Builder
,SdkBuilder<GetObjectAclResponse.Builder,
,GetObjectAclResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetObjectAclResponse
public static interface GetObjectAclResponse.Builder
extends S3Response.Builder, SdkPojo, CopyableBuilder<GetObjectAclResponse.Builder,GetObjectAclResponse>
-
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 GetObjectAclResponse.Builder
owner
(Consumer<Owner.Builder> owner) Container for the bucket owner's display name and ID.Container for the bucket owner's display name and ID.requestCharged
(String requestCharged) Sets the value of the RequestCharged property for this object.requestCharged
(RequestCharged requestCharged) Sets the value of the RequestCharged property for this object.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 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.Builder
avoiding the need to create one manually viaOwner.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaGrant.builder()
.When the
Consumer
completes,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:
-
requestCharged
Sets the value of the RequestCharged property for this object.- Parameters:
requestCharged
- The new value for the RequestCharged property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
requestCharged
Sets the value of the RequestCharged property for this object.- Parameters:
requestCharged
- The new value for the RequestCharged property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-