Serializable, SdkPojo, ToCopyableBuilder<Snapshot.Builder,Snapshot>Describes a snapshot.
See Also:Method Details
snapshotTime
public final Instant snapshotTime()The time when the snapshot was created.
Returns: The time when the snapshot was created.toBuilder
Take this object and create a builder that contains all of the current property values of this object.
Specified by:toBuilderin interfaceToCopyableBuilder<Snapshot.Builder,Snapshot>Returns: a builder for type Tbuilder
serializableBuilderClass
hashCode
public final int hashCode()
Overrides:hashCodein classObjectequals
public final boolean equals(Object obj) Overrides:equalsin classObjectequalsBySdkFields
public final boolean equalsBySdkFields(Object obj) Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
Specified by:SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.equalsBySdkFieldsin interfaceSdkPojoParameters:obj- the object to be compared with Returns: true if the other object equals to this object by sdk fields, false otherwise.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:toStringin classObjectgetValueForField
sdkFields
Specified by:sdkFieldsin interfaceSdkPojoReturns: List ofSdkFieldin this POJO. May be empty list but should never be null.
ncG1vNJzZmirlKB7ornAs6anmaeoe6S7zGihmq6RZK6xtY6lmK2do6l8tLvFra6aqpVkrq6t2ailaJmnqMClt46snKuumZiytHvWqKmkq6CWsKa%2FjqamnZ2cZKCvrc%2Bsn6isXp3Brrg%3D