Interface AwsS3ObjectDetails.Builder

    • Method Detail

      • lastModified

        AwsS3ObjectDetails.Builder lastModified​(String lastModified)

        Indicates when the object was last modified.

        This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:

        • YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z)

        • YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z)

        • YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59)

        • YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759)

        • YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59)

        Parameters:
        lastModified - Indicates when the object was last modified.

        This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:

        • YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z)

        • YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z)

        • YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59)

        • YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759)

        • YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59)

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • eTag

        AwsS3ObjectDetails.Builder eTag​(String eTag)

        The opaque identifier assigned by a web server to a specific version of a resource found at a URL.

        Parameters:
        eTag - The opaque identifier assigned by a web server to a specific version of a resource found at a URL.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • versionId

        AwsS3ObjectDetails.Builder versionId​(String versionId)

        The version of the object.

        Parameters:
        versionId - The version of the object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • contentType

        AwsS3ObjectDetails.Builder contentType​(String contentType)

        A standard MIME type describing the format of the object data.

        Parameters:
        contentType - A standard MIME type describing the format of the object data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serverSideEncryption

        AwsS3ObjectDetails.Builder serverSideEncryption​(String serverSideEncryption)

        If the object is stored using server-side encryption, the value of the server-side encryption algorithm used when storing this object in Amazon S3.

        Parameters:
        serverSideEncryption - If the object is stored using server-side encryption, the value of the server-side encryption algorithm used when storing this object in Amazon S3.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ssekmsKeyId

        AwsS3ObjectDetails.Builder ssekmsKeyId​(String ssekmsKeyId)

        The identifier of the KMS symmetric customer managed key that was used for the object.

        Parameters:
        ssekmsKeyId - The identifier of the KMS symmetric customer managed key that was used for the object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.