Interface S3AccessControlList.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<S3AccessControlList.Builder,,S3AccessControlList> SdkBuilder<S3AccessControlList.Builder,,S3AccessControlList> SdkPojo
- Enclosing class:
 S3AccessControlList
public static interface S3AccessControlList.Builder
extends SdkPojo, CopyableBuilder<S3AccessControlList.Builder,S3AccessControlList> 
- 
Method Summary
Modifier and TypeMethodDescriptiongrants(Collection<S3Grant> grants) grants(Consumer<S3Grant.Builder>... grants) This is a convenience method that creates an instance of theS3Grant.Builderavoiding the need to create one manually viaS3Grant.builder().default S3AccessControlList.Builderowner(Consumer<S3ObjectOwner.Builder> owner) This is a convenience method that creates an instance of theS3ObjectOwner.Builderavoiding the need to create one manually viaS3ObjectOwner.builder().owner(S3ObjectOwner owner) Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields 
- 
Method Details
- 
owner
- Parameters:
 owner-- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
owner
This is a convenience method that creates an instance of theS3ObjectOwner.Builderavoiding the need to create one manually viaS3ObjectOwner.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toowner(S3ObjectOwner).- Parameters:
 owner- a consumer that will call methods onS3ObjectOwner.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
grants
- Parameters:
 grants-- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
grants
- Parameters:
 grants-- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
grants
This is a convenience method that creates an instance of theS3Grant.Builderavoiding the need to create one manually viaS3Grant.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togrants(List<S3Grant>).- Parameters:
 grants- a consumer that will call methods onS3Grant.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -