@Generated(value="software.amazon.awssdk:codegen") public final class S3PublicAccessBlockConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<S3PublicAccessBlockConfiguration.Builder,S3PublicAccessBlockConfiguration>
The PublicAccessBlock configuration to apply to this Amazon S3 bucket. If the proposed configuration is
for an existing Amazon S3 bucket and the configuration is not specified, the access preview uses the existing
setting. If the proposed configuration is for a new bucket and the configuration is not specified, the access preview
uses false. If the proposed configuration is for a new access point and the access point BPA
configuration is not specified, the access preview uses true. For more information, see PublicAccessBlockConfiguration.
| Modifier and Type | Class and Description |
|---|---|
static interface |
S3PublicAccessBlockConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static S3PublicAccessBlockConfiguration.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 should ignore public ACLs for this bucket and objects in this bucket.
|
Boolean |
restrictPublicBuckets()
Specifies whether Amazon S3 should restrict public bucket policies for this bucket.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends S3PublicAccessBlockConfiguration.Builder> |
serializableBuilderClass() |
S3PublicAccessBlockConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Boolean ignorePublicAcls()
Specifies whether Amazon S3 should ignore public ACLs for this bucket and objects in this bucket.
public final Boolean restrictPublicBuckets()
Specifies whether Amazon S3 should restrict public bucket policies for this bucket.
public S3PublicAccessBlockConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<S3PublicAccessBlockConfiguration.Builder,S3PublicAccessBlockConfiguration>public static S3PublicAccessBlockConfiguration.Builder builder()
public static Class<? extends S3PublicAccessBlockConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.