Interface BlockPublicAccess.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BlockPublicAccess.Builder,
,BlockPublicAccess> SdkBuilder<BlockPublicAccess.Builder,
,BlockPublicAccess> SdkPojo
- Enclosing class:
BlockPublicAccess
public static interface BlockPublicAccess.Builder
extends SdkPojo, CopyableBuilder<BlockPublicAccess.Builder,BlockPublicAccess>
-
Method Summary
Modifier and TypeMethodDescriptionblockPublicAcls
(Boolean blockPublicAcls) Specifies whether Amazon S3 blocks public access control lists (ACLs) for the bucket and objects in the bucket.blockPublicPolicy
(Boolean blockPublicPolicy) Specifies whether Amazon S3 blocks public bucket policies for the bucket.ignorePublicAcls
(Boolean ignorePublicAcls) Specifies whether Amazon S3 ignores public ACLs for the bucket and objects in the bucket.restrictPublicBuckets
(Boolean restrictPublicBuckets) Specifies whether Amazon S3 restricts public bucket policies for the bucket.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
Specifies whether Amazon S3 blocks public access control lists (ACLs) for the bucket and objects in the bucket.
- Parameters:
blockPublicAcls
- Specifies whether Amazon S3 blocks public access control lists (ACLs) for the bucket and objects in the bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blockPublicPolicy
Specifies whether Amazon S3 blocks public bucket policies for the bucket.
- Parameters:
blockPublicPolicy
- Specifies whether Amazon S3 blocks public bucket policies for the bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ignorePublicAcls
Specifies whether Amazon S3 ignores public ACLs for the bucket and objects in the bucket.
- Parameters:
ignorePublicAcls
- Specifies whether Amazon S3 ignores public ACLs for the bucket and objects in the bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
restrictPublicBuckets
Specifies whether Amazon S3 restricts public bucket policies for the bucket.
- Parameters:
restrictPublicBuckets
- Specifies whether Amazon S3 restricts public bucket policies for the bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-