Interface S3BucketConfiguration.Builder

    • Method Detail

      • bucketPolicy

        S3BucketConfiguration.Builder bucketPolicy​(String bucketPolicy)

        The proposed bucket policy for the Amazon S3 bucket.

        Parameters:
        bucketPolicy - The proposed bucket policy for the Amazon S3 bucket.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • bucketAclGrants

        S3BucketConfiguration.Builder bucketAclGrants​(Collection<S3BucketAclGrantConfiguration> bucketAclGrants)

        The proposed list of ACL grants for the Amazon S3 bucket. You can propose up to 100 ACL grants per bucket. If the proposed grant configuration is for an existing bucket, the access preview uses the proposed list of grant configurations in place of the existing grants. Otherwise, the access preview uses the existing grants for the bucket.

        Parameters:
        bucketAclGrants - The proposed list of ACL grants for the Amazon S3 bucket. You can propose up to 100 ACL grants per bucket. If the proposed grant configuration is for an existing bucket, the access preview uses the proposed list of grant configurations in place of the existing grants. Otherwise, the access preview uses the existing grants for the bucket.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • bucketAclGrants

        S3BucketConfiguration.Builder bucketAclGrants​(S3BucketAclGrantConfiguration... bucketAclGrants)

        The proposed list of ACL grants for the Amazon S3 bucket. You can propose up to 100 ACL grants per bucket. If the proposed grant configuration is for an existing bucket, the access preview uses the proposed list of grant configurations in place of the existing grants. Otherwise, the access preview uses the existing grants for the bucket.

        Parameters:
        bucketAclGrants - The proposed list of ACL grants for the Amazon S3 bucket. You can propose up to 100 ACL grants per bucket. If the proposed grant configuration is for an existing bucket, the access preview uses the proposed list of grant configurations in place of the existing grants. Otherwise, the access preview uses the existing grants for the bucket.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • bucketPublicAccessBlock

        S3BucketConfiguration.Builder bucketPublicAccessBlock​(S3PublicAccessBlockConfiguration bucketPublicAccessBlock)

        The proposed block public access configuration for the Amazon S3 bucket.

        Parameters:
        bucketPublicAccessBlock - The proposed block public access configuration for the Amazon S3 bucket.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accessPoints

        S3BucketConfiguration.Builder accessPoints​(Map<String,​S3AccessPointConfiguration> accessPoints)

        The configuration of Amazon S3 access points or multi-region access points for the bucket. You can propose up to 10 new access points per bucket.

        Parameters:
        accessPoints - The configuration of Amazon S3 access points or multi-region access points for the bucket. You can propose up to 10 new access points per bucket.
        Returns:
        Returns a reference to this object so that method calls can be chained together.