Interface AwsS3AccountPublicAccessBlockDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsS3AccountPublicAccessBlockDetails.Builder,
,AwsS3AccountPublicAccessBlockDetails> SdkBuilder<AwsS3AccountPublicAccessBlockDetails.Builder,
,AwsS3AccountPublicAccessBlockDetails> SdkPojo
- Enclosing class:
AwsS3AccountPublicAccessBlockDetails
public static interface AwsS3AccountPublicAccessBlockDetails.Builder
extends SdkPojo, CopyableBuilder<AwsS3AccountPublicAccessBlockDetails.Builder,AwsS3AccountPublicAccessBlockDetails>
-
Method Summary
Modifier and TypeMethodDescriptionblockPublicAcls
(Boolean blockPublicAcls) Indicates whether to reject calls to update an S3 bucket if the calls include a public access control list (ACL).blockPublicPolicy
(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.ignorePublicAcls
(Boolean ignorePublicAcls) Indicates whether Amazon S3 ignores public ACLs that are associated with an S3 bucket.restrictPublicBuckets
(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.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
blockPublicAcls
Indicates whether to reject calls to update an S3 bucket if the calls include a public access control list (ACL).
- Parameters:
blockPublicAcls
- Indicates whether to reject calls to update an S3 bucket if the calls include a public access control list (ACL).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blockPublicPolicy
Indicates whether to reject calls to update the access policy for an S3 bucket or access point if the policy allows public access.
- Parameters:
blockPublicPolicy
- Indicates whether to reject calls to update the access policy for an S3 bucket or access point if the policy allows public access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ignorePublicAcls
Indicates whether Amazon S3 ignores public ACLs that are associated with an S3 bucket.
- Parameters:
ignorePublicAcls
- Indicates whether Amazon S3 ignores public ACLs that are associated with an S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-