Interface S3BucketDetail.Builder

    • Method Detail

      • arn

        S3BucketDetail.Builder arn​(String arn)

        The Amazon Resource Name (ARN) of the S3 bucket.

        Parameters:
        arn - The Amazon Resource Name (ARN) of the S3 bucket.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        S3BucketDetail.Builder name​(String name)

        The name of the S3 bucket.

        Parameters:
        name - The name of the S3 bucket.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        S3BucketDetail.Builder type​(String type)

        Describes whether the bucket is a source or destination bucket.

        Parameters:
        type - Describes whether the bucket is a source or destination bucket.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdAt

        S3BucketDetail.Builder createdAt​(Instant createdAt)

        The date and time the bucket was created at.

        Parameters:
        createdAt - The date and time the bucket was created at.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • owner

        S3BucketDetail.Builder owner​(Owner owner)

        The owner of the S3 bucket.

        Parameters:
        owner - The owner of the S3 bucket.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        S3BucketDetail.Builder tags​(Collection<Tag> tags)

        All tags attached to the S3 bucket

        Parameters:
        tags - All tags attached to the S3 bucket
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        S3BucketDetail.Builder tags​(Tag... tags)

        All tags attached to the S3 bucket

        Parameters:
        tags - All tags attached to the S3 bucket
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        S3BucketDetail.Builder tags​(Consumer<Tag.Builder>... tags)

        All tags attached to the S3 bucket

        This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)
      • defaultServerSideEncryption

        S3BucketDetail.Builder defaultServerSideEncryption​(DefaultServerSideEncryption defaultServerSideEncryption)

        Describes the server side encryption method used in the S3 bucket.

        Parameters:
        defaultServerSideEncryption - Describes the server side encryption method used in the S3 bucket.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • publicAccess

        S3BucketDetail.Builder publicAccess​(PublicAccess publicAccess)

        Describes the public access policies that apply to the S3 bucket.

        Parameters:
        publicAccess - Describes the public access policies that apply to the S3 bucket.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • s3ObjectDetails

        S3BucketDetail.Builder s3ObjectDetails​(Collection<S3ObjectDetail> s3ObjectDetails)

        Information about the S3 object that was scanned.

        Parameters:
        s3ObjectDetails - Information about the S3 object that was scanned.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • s3ObjectDetails

        S3BucketDetail.Builder s3ObjectDetails​(S3ObjectDetail... s3ObjectDetails)

        Information about the S3 object that was scanned.

        Parameters:
        s3ObjectDetails - Information about the S3 object that was scanned.
        Returns:
        Returns a reference to this object so that method calls can be chained together.