Class SnapshotOperationInfo
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SnapshotOperationInfo.Builder,SnapshotOperationInfo>
Provides summary information about an operation that was performed on an enhanced snapshot.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final InstantendTime()The timestamp that indicates when the operation finished.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends SnapshotOperationInfo.Builder> final SnapshotOperationThe type of operation that was performed on the snapshot.final StringThe type of operation that was performed on the snapshot.final StringThe ID of the snapshot operation.final SnapshotOperationStatusThe status of the snapshot operation.final StringThe status of the snapshot operation.final InstantThe timestamp that indicates when the operation was created.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
snapshotOperationId
The ID of the snapshot operation.
- Returns:
- The ID of the snapshot operation.
-
snapshotOperation
The type of operation that was performed on the snapshot.
If the service returns an enum value that is not available in the current SDK version,
snapshotOperationwill returnSnapshotOperation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsnapshotOperationAsString().- Returns:
- The type of operation that was performed on the snapshot.
- See Also:
-
snapshotOperationAsString
The type of operation that was performed on the snapshot.
If the service returns an enum value that is not available in the current SDK version,
snapshotOperationwill returnSnapshotOperation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsnapshotOperationAsString().- Returns:
- The type of operation that was performed on the snapshot.
- See Also:
-
snapshotOperationStatus
The status of the snapshot operation.
If the service returns an enum value that is not available in the current SDK version,
snapshotOperationStatuswill returnSnapshotOperationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsnapshotOperationStatusAsString().- Returns:
- The status of the snapshot operation.
- See Also:
-
snapshotOperationStatusAsString
The status of the snapshot operation.
If the service returns an enum value that is not available in the current SDK version,
snapshotOperationStatuswill returnSnapshotOperationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsnapshotOperationStatusAsString().- Returns:
- The status of the snapshot operation.
- See Also:
-
startTime
The timestamp that indicates when the operation was created.
- Returns:
- The timestamp that indicates when the operation was created.
-
endTime
The timestamp that indicates when the operation finished. This field is present only after the operation completes.
- Returns:
- The timestamp that indicates when the operation finished. This field is present only after the operation completes.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<SnapshotOperationInfo.Builder,SnapshotOperationInfo> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
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
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-