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 Details

    • 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.