Interface AccessControlList.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AccessControlList.Builder,
,AccessControlList> SdkBuilder<AccessControlList.Builder,
,AccessControlList> SdkPojo
- Enclosing class:
AccessControlList
public static interface AccessControlList.Builder
extends SdkPojo, CopyableBuilder<AccessControlList.Builder,AccessControlList>
-
Method Summary
Modifier and TypeMethodDescriptionallowsPublicReadAccess
(Boolean allowsPublicReadAccess) Specifies whether the ACL grants the general public with read access permissions for the bucket.allowsPublicWriteAccess
(Boolean allowsPublicWriteAccess) Specifies whether the ACL grants the general public with write access permissions for the bucket.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
allowsPublicReadAccess
Specifies whether the ACL grants the general public with read access permissions for the bucket.
- Parameters:
allowsPublicReadAccess
- Specifies whether the ACL grants the general public with read access permissions for the bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowsPublicWriteAccess
Specifies whether the ACL grants the general public with write access permissions for the bucket.
- Parameters:
allowsPublicWriteAccess
- Specifies whether the ACL grants the general public with write access permissions for the bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-