Interface S3Bucket.Builder

    • Method Detail

      • ownerId

        S3Bucket.Builder ownerId​(String ownerId)

        The owner ID of the associated S3Amazon S3bucket.

        Parameters:
        ownerId - The owner ID of the associated S3Amazon S3bucket.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdAt

        S3Bucket.Builder createdAt​(Instant createdAt)

        The timestamp at which the Amazon S3 bucket was created.

        Parameters:
        createdAt - The timestamp at which the Amazon S3 bucket was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • encryptionKeyArn

        S3Bucket.Builder encryptionKeyArn​(String encryptionKeyArn)

        The Amazon Resource Name (ARN) of the encryption key that is used to encrypt the Amazon S3 bucket and its objects.

        Parameters:
        encryptionKeyArn - The Amazon Resource Name (ARN) of the encryption key that is used to encrypt the Amazon S3 bucket and its objects.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • effectivePermission

        S3Bucket.Builder effectivePermission​(String effectivePermission)

        Describes the effective permissions on this S3 bucket, after factoring all the attached policies.

        Parameters:
        effectivePermission - Describes the effective permissions on this S3 bucket, after factoring all the attached policies.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • publicReadAccess

        S3Bucket.Builder publicReadAccess​(String publicReadAccess)

        Indicates whether or not the public read access is allowed for an Amazon S3 bucket.

        Parameters:
        publicReadAccess - Indicates whether or not the public read access is allowed for an Amazon S3 bucket.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PublicAccessStatus, PublicAccessStatus
      • publicReadAccess

        S3Bucket.Builder publicReadAccess​(PublicAccessStatus publicReadAccess)

        Indicates whether or not the public read access is allowed for an Amazon S3 bucket.

        Parameters:
        publicReadAccess - Indicates whether or not the public read access is allowed for an Amazon S3 bucket.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PublicAccessStatus, PublicAccessStatus
      • publicWriteAccess

        S3Bucket.Builder publicWriteAccess​(String publicWriteAccess)

        Indicates whether or not the public write access is allowed for an Amazon S3 bucket.

        Parameters:
        publicWriteAccess - Indicates whether or not the public write access is allowed for an Amazon S3 bucket.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PublicAccessStatus, PublicAccessStatus
      • publicWriteAccess

        S3Bucket.Builder publicWriteAccess​(PublicAccessStatus publicWriteAccess)

        Indicates whether or not the public write access is allowed for an Amazon S3 bucket.

        Parameters:
        publicWriteAccess - Indicates whether or not the public write access is allowed for an Amazon S3 bucket.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PublicAccessStatus, PublicAccessStatus
      • accountPublicAccess

        S3Bucket.Builder accountPublicAccess​(PublicAccessConfiguration accountPublicAccess)

        Contains information about the public access policies that apply to the Amazon S3 bucket at the account level.

        Parameters:
        accountPublicAccess - Contains information about the public access policies that apply to the Amazon S3 bucket at the account level.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • bucketPublicAccess

        S3Bucket.Builder bucketPublicAccess​(PublicAccessConfiguration bucketPublicAccess)

        Contains information about public access policies that apply to the Amazon S3 bucket.

        Parameters:
        bucketPublicAccess - Contains information about public access policies that apply to the Amazon S3 bucket.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • s3ObjectUids

        S3Bucket.Builder s3ObjectUids​(Collection<String> s3ObjectUids)

        Represents a list of Amazon S3 object identifiers.

        Parameters:
        s3ObjectUids - Represents a list of Amazon S3 object identifiers.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • s3ObjectUids

        S3Bucket.Builder s3ObjectUids​(String... s3ObjectUids)

        Represents a list of Amazon S3 object identifiers.

        Parameters:
        s3ObjectUids - Represents a list of Amazon S3 object identifiers.
        Returns:
        Returns a reference to this object so that method calls can be chained together.