Class S3Object
java.lang.Object
software.amazon.awssdk.eventnotifications.s3.model.S3Object
-
Constructor Details
-
S3Object
-
-
Method Details
-
getKey
- Returns:
- the object key.
-
getUrlDecodedKey
S3 URL encodes the key of the object involved in the event. This is a convenience method to automatically URL decode the key.- Returns:
- The URL decoded object key.
-
getSizeAsLong
- Returns:
- the object size in bytes.
-
getETag
- Returns:
- the object eTag
-
getVersionId
- Returns:
- the object version if bucket is versioning-enabled, otherwise null
-
getSequencer
The sequencer key provides a way to determine the sequence of events. Event notifications aren't guaranteed to arrive in the same order that the events occurred. However, notifications from events that create objects (PUTs) and delete objects contain a sequencer. It can be used to determine the order of events for a given object key.- Returns:
- A string representation of a hexadecimal value used to determine event sequence, only used with PUTs and DELETEs.
-
equals
-
hashCode
-
toString
-