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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AwsS3AccountPublicAccessBlockDetails.BuilderblockPublicAcls(Boolean blockPublicAcls)Indicates whether to reject calls to update an S3 bucket if the calls include a public access control list (ACL).AwsS3AccountPublicAccessBlockDetails.BuilderblockPublicPolicy(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.AwsS3AccountPublicAccessBlockDetails.BuilderignorePublicAcls(Boolean ignorePublicAcls)Indicates whether Amazon S3 ignores public ACLs that are associated with an S3 bucket.AwsS3AccountPublicAccessBlockDetails.BuilderrestrictPublicBuckets(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
blockPublicAcls
AwsS3AccountPublicAccessBlockDetails.Builder blockPublicAcls(Boolean 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
AwsS3AccountPublicAccessBlockDetails.Builder 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.
- 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
AwsS3AccountPublicAccessBlockDetails.Builder ignorePublicAcls(Boolean 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
AwsS3AccountPublicAccessBlockDetails.Builder 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.
- 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.
-
-