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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AccessControlList.BuilderallowsPublicReadAccess(Boolean allowsPublicReadAccess)Specifies whether the ACL grants the general public with read access permissions for the bucket.AccessControlList.BuilderallowsPublicWriteAccess(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 Detail
-
allowsPublicReadAccess
AccessControlList.Builder allowsPublicReadAccess(Boolean 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
AccessControlList.Builder allowsPublicWriteAccess(Boolean 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.
-
-