Class AwsS3ObjectDetails

    • Method Detail

      • lastModified

        public final String lastModified()

        Indicates when the object was last modified.

        For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.

        Returns:
        Indicates when the object was last modified.

        For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.

      • eTag

        public final String eTag()

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

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

        public final String versionId()

        The version of the object.

        Returns:
        The version of the object.
      • contentType

        public final String contentType()

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

        Returns:
        A standard MIME type describing the format of the object data.
      • serverSideEncryption

        public final 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.

        Returns:
        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.
      • ssekmsKeyId

        public final String ssekmsKeyId()

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

        Returns:
        The identifier of the KMS symmetric customer managed key that was used for the object.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)