@Generated(value="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 level 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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
BlockPublicAccess.Builder |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
blockPublicAcls()
Specifies whether Amazon S3 blocks public access control lists (ACLs) for the bucket and objects in the bucket.
|
Boolean |
blockPublicPolicy()
Specifies whether Amazon S3 blocks public bucket policies for the bucket.
|
static BlockPublicAccess.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
ignorePublicAcls()
Specifies whether Amazon S3 ignores public ACLs for the bucket and objects in the bucket.
|
Boolean |
restrictPublicBuckets()
Specifies whether Amazon S3 restricts public bucket policies for the bucket.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends BlockPublicAccess.Builder> |
serializableBuilderClass() |
BlockPublicAccess.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Boolean blockPublicAcls()
Specifies whether Amazon S3 blocks public access control lists (ACLs) for the bucket and objects in the bucket.
public final Boolean blockPublicPolicy()
Specifies whether Amazon S3 blocks public bucket policies for the bucket.
public final Boolean ignorePublicAcls()
Specifies whether Amazon S3 ignores public ACLs for the bucket and objects in the bucket.
public final Boolean restrictPublicBuckets()
Specifies whether Amazon S3 restricts public bucket policies for the bucket.
public BlockPublicAccess.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<BlockPublicAccess.Builder,BlockPublicAccess>public static BlockPublicAccess.Builder builder()
public static Class<? extends BlockPublicAccess.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.