@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 Using Amazon S3 block public access in the Amazon Simple Storage Service Developer 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 Boolean blockPublicAcls()
Specifies whether Amazon S3 blocks public access control lists (ACLs) for the bucket and objects in the bucket.
public Boolean blockPublicPolicy()
Specifies whether Amazon S3 blocks public bucket policies for the bucket.
public Boolean ignorePublicAcls()
Specifies whether Amazon S3 ignores public ACLs for the bucket and objects in the bucket.
public 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 boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.