Class S3FileLocation

    • Method Detail

      • bucket

        public final String bucket()

        Specifies the S3 bucket that contains the file being used.

        Returns:
        Specifies the S3 bucket that contains the file being used.
      • key

        public final String key()

        The name assigned to the file when it was created in Amazon S3. You use the object key to retrieve the object.

        Returns:
        The name assigned to the file when it was created in Amazon S3. You use the object key to retrieve the object.
      • versionId

        public final String versionId()

        Specifies the file version.

        Returns:
        Specifies the file version.
      • etag

        public final String etag()

        The entity tag is a hash of the object. The ETag reflects changes only to the contents of an object, not its metadata.

        Returns:
        The entity tag is a hash of the object. The ETag reflects changes only to the contents of an object, not its metadata.
      • 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)