Class AccessControlList
- java.lang.Object
-
- software.amazon.awssdk.services.macie2.model.AccessControlList
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AccessControlList.Builder,AccessControlList>
@Generated("software.amazon.awssdk:codegen") public final class AccessControlList extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AccessControlList.Builder,AccessControlList>
Provides information about the permissions settings of the bucket-level access control list (ACL) for an S3 bucket.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAccessControlList.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanallowsPublicReadAccess()Specifies whether the ACL grants the general public with read access permissions for the bucket.BooleanallowsPublicWriteAccess()Specifies whether the ACL grants the general public with write access permissions for the bucket.static AccessControlList.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AccessControlList.Builder>serializableBuilderClass()AccessControlList.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
allowsPublicReadAccess
public final Boolean allowsPublicReadAccess()
Specifies whether the ACL grants the general public with read access permissions for the bucket.
- Returns:
- Specifies whether the ACL grants the general public with read access permissions for the bucket.
-
allowsPublicWriteAccess
public final Boolean allowsPublicWriteAccess()
Specifies whether the ACL grants the general public with write access permissions for the bucket.
- Returns:
- Specifies whether the ACL grants the general public with write access permissions for the bucket.
-
toBuilder
public AccessControlList.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AccessControlList.Builder,AccessControlList>
-
builder
public static AccessControlList.Builder builder()
-
serializableBuilderClass
public static Class<? extends AccessControlList.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-