Interface GetObjectAclResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetObjectAclResponse.Builder,GetObjectAclResponse>,S3Response.Builder,SdkBuilder<GetObjectAclResponse.Builder,GetObjectAclResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetObjectAclResponse
@Mutable @NotThreadSafe public static interface GetObjectAclResponse.Builder extends S3Response.Builder, SdkPojo, CopyableBuilder<GetObjectAclResponse.Builder,GetObjectAclResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetObjectAclResponse.Buildergrants(Collection<Grant> grants)A list of grants.GetObjectAclResponse.Buildergrants(Consumer<Grant.Builder>... grants)A list of grants.GetObjectAclResponse.Buildergrants(Grant... grants)A list of grants.default GetObjectAclResponse.Builderowner(Consumer<Owner.Builder> owner)Container for the bucket owner's display name and ID.GetObjectAclResponse.Builderowner(Owner owner)Container for the bucket owner's display name and ID.GetObjectAclResponse.BuilderrequestCharged(String requestCharged)Sets the value of the RequestCharged property for this object.GetObjectAclResponse.BuilderrequestCharged(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
owner
GetObjectAclResponse.Builder owner(Owner 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
default GetObjectAclResponse.Builder owner(Consumer<Owner.Builder> 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:
owner(Owner)
-
grants
GetObjectAclResponse.Builder grants(Collection<Grant> 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
GetObjectAclResponse.Builder grants(Grant... 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
GetObjectAclResponse.Builder grants(Consumer<Grant.Builder>... 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 to#grants(List.) - 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:
#grants(java.util.Collection)
-
requestCharged
GetObjectAclResponse.Builder requestCharged(String 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,RequestCharged
-
requestCharged
GetObjectAclResponse.Builder requestCharged(RequestCharged 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,RequestCharged
-
-