Interface AwsS3AccountPublicAccessBlockDetails.Builder

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