Interface S3PublicAccessBlockConfiguration.Builder

    • Method Detail

      • ignorePublicAcls

        S3PublicAccessBlockConfiguration.Builder ignorePublicAcls​(Boolean ignorePublicAcls)

        Specifies whether Amazon S3 should ignore public ACLs for this bucket and objects in this bucket.

        Parameters:
        ignorePublicAcls - Specifies whether Amazon S3 should ignore public ACLs for this bucket and objects in this bucket.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • restrictPublicBuckets

        S3PublicAccessBlockConfiguration.Builder restrictPublicBuckets​(Boolean restrictPublicBuckets)

        Specifies whether Amazon S3 should restrict public bucket policies for this bucket.

        Parameters:
        restrictPublicBuckets - Specifies whether Amazon S3 should restrict public bucket policies for this bucket.
        Returns:
        Returns a reference to this object so that method calls can be chained together.