Class BlockPublicAccess
- java.lang.Object
-
- software.amazon.awssdk.services.macie2.model.BlockPublicAccess
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BlockPublicAccess.Builder,BlockPublicAccess>
@Generated("software.amazon.awssdk:codegen") public final class BlockPublicAccess extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BlockPublicAccess.Builder,BlockPublicAccess>
Provides information about the block public access settings for an S3 bucket. These settings can apply to a bucket at the account or bucket level. For detailed information about each setting, see Blocking public access to your Amazon S3 storage in the Amazon Simple Storage Service User Guide.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBlockPublicAccess.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanblockPublicAcls()Specifies whether Amazon S3 blocks public access control lists (ACLs) for the bucket and objects in the bucket.BooleanblockPublicPolicy()Specifies whether Amazon S3 blocks public bucket policies for the bucket.static BlockPublicAccess.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanignorePublicAcls()Specifies whether Amazon S3 ignores public ACLs for the bucket and objects in the bucket.BooleanrestrictPublicBuckets()Specifies whether Amazon S3 restricts public bucket policies for the bucket.List<SdkField<?>>sdkFields()static Class<? extends BlockPublicAccess.Builder>serializableBuilderClass()BlockPublicAccess.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
-
blockPublicAcls
public final Boolean blockPublicAcls()
Specifies whether Amazon S3 blocks public access control lists (ACLs) for the bucket and objects in the bucket.
- Returns:
- Specifies whether Amazon S3 blocks public access control lists (ACLs) for the bucket and objects in the bucket.
-
blockPublicPolicy
public final Boolean blockPublicPolicy()
Specifies whether Amazon S3 blocks public bucket policies for the bucket.
- Returns:
- Specifies whether Amazon S3 blocks public bucket policies for the bucket.
-
ignorePublicAcls
public final Boolean ignorePublicAcls()
Specifies whether Amazon S3 ignores public ACLs for the bucket and objects in the bucket.
- Returns:
- Specifies whether Amazon S3 ignores public ACLs for the bucket and objects in the bucket.
-
restrictPublicBuckets
public final Boolean restrictPublicBuckets()
Specifies whether Amazon S3 restricts public bucket policies for the bucket.
- Returns:
- Specifies whether Amazon S3 restricts public bucket policies for the bucket.
-
toBuilder
public BlockPublicAccess.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<BlockPublicAccess.Builder,BlockPublicAccess>
-
builder
public static BlockPublicAccess.Builder builder()
-
serializableBuilderClass
public static Class<? extends BlockPublicAccess.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.
-
-