@Generated(value="software.amazon.awssdk:codegen") public final class AwsS3AccountPublicAccessBlockDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsS3AccountPublicAccessBlockDetails.Builder,AwsS3AccountPublicAccessBlockDetails>
provides information about the Amazon S3 Public Access Block configuration for accounts.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsS3AccountPublicAccessBlockDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
blockPublicAcls()
Indicates whether to reject calls to update an S3 bucket if the calls include a public access control list (ACL).
|
Boolean |
blockPublicPolicy()
Indicates whether to reject calls to update the access policy for an S3 bucket or access point if the policy
allows public access.
|
static AwsS3AccountPublicAccessBlockDetails.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
ignorePublicAcls()
Indicates whether Amazon S3 ignores public ACLs that are associated with an S3 bucket.
|
Boolean |
restrictPublicBuckets()
Indicates whether to restrict access to an access point or S3 bucket that has a public policy to only Amazon Web
Services service principals and authorized users within the S3 bucket owner's account.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AwsS3AccountPublicAccessBlockDetails.Builder> |
serializableBuilderClass() |
AwsS3AccountPublicAccessBlockDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Boolean blockPublicAcls()
Indicates whether to reject calls to update an S3 bucket if the calls include a public access control list (ACL).
public final Boolean blockPublicPolicy()
Indicates whether to reject calls to update the access policy for an S3 bucket or access point if the policy allows public access.
public final Boolean ignorePublicAcls()
Indicates whether Amazon S3 ignores public ACLs that are associated with an S3 bucket.
public final Boolean restrictPublicBuckets()
Indicates whether to restrict access to an access point or S3 bucket that has a public policy to only Amazon Web Services service principals and authorized users within the S3 bucket owner's account.
public AwsS3AccountPublicAccessBlockDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AwsS3AccountPublicAccessBlockDetails.Builder,AwsS3AccountPublicAccessBlockDetails>public static AwsS3AccountPublicAccessBlockDetails.Builder builder()
public static Class<? extends AwsS3AccountPublicAccessBlockDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.