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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BlockPublicAccess.BuilderblockPublicAcls(Boolean blockPublicAcls)Specifies whether Amazon S3 blocks public access control lists (ACLs) for the bucket and objects in the bucket.BlockPublicAccess.BuilderblockPublicPolicy(Boolean blockPublicPolicy)Specifies whether Amazon S3 blocks public bucket policies for the bucket.BlockPublicAccess.BuilderignorePublicAcls(Boolean ignorePublicAcls)Specifies whether Amazon S3 ignores public ACLs for the bucket and objects in the bucket.BlockPublicAccess.BuilderrestrictPublicBuckets(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 Detail
-
blockPublicAcls
BlockPublicAccess.Builder blockPublicAcls(Boolean 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
BlockPublicAccess.Builder blockPublicPolicy(Boolean 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
BlockPublicAccess.Builder ignorePublicAcls(Boolean 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
BlockPublicAccess.Builder restrictPublicBuckets(Boolean 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.
-
-