Class RecoveryLifeCycle
- java.lang.Object
-
- software.amazon.awssdk.services.drs.model.RecoveryLifeCycle
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RecoveryLifeCycle.Builder,RecoveryLifeCycle>
@Generated("software.amazon.awssdk:codegen") public final class RecoveryLifeCycle extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RecoveryLifeCycle.Builder,RecoveryLifeCycle>
An object representing the Source Network recovery Lifecycle.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRecoveryLifeCycle.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InstantapiCallDateTime()The date and time the last Source Network recovery was initiated.static RecoveryLifeCycle.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringjobID()The ID of the Job that was used to last recover the Source Network.RecoveryResultlastRecoveryResult()The status of the last recovery status of this Source Network.StringlastRecoveryResultAsString()The status of the last recovery status of this Source Network.List<SdkField<?>>sdkFields()static Class<? extends RecoveryLifeCycle.Builder>serializableBuilderClass()RecoveryLifeCycle.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
apiCallDateTime
public final Instant apiCallDateTime()
The date and time the last Source Network recovery was initiated.
- Returns:
- The date and time the last Source Network recovery was initiated.
-
jobID
public final String jobID()
The ID of the Job that was used to last recover the Source Network.
- Returns:
- The ID of the Job that was used to last recover the Source Network.
-
lastRecoveryResult
public final RecoveryResult lastRecoveryResult()
The status of the last recovery status of this Source Network.
If the service returns an enum value that is not available in the current SDK version,
lastRecoveryResultwill returnRecoveryResult.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlastRecoveryResultAsString().- Returns:
- The status of the last recovery status of this Source Network.
- See Also:
RecoveryResult
-
lastRecoveryResultAsString
public final String lastRecoveryResultAsString()
The status of the last recovery status of this Source Network.
If the service returns an enum value that is not available in the current SDK version,
lastRecoveryResultwill returnRecoveryResult.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlastRecoveryResultAsString().- Returns:
- The status of the last recovery status of this Source Network.
- See Also:
RecoveryResult
-
toBuilder
public RecoveryLifeCycle.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RecoveryLifeCycle.Builder,RecoveryLifeCycle>
-
builder
public static RecoveryLifeCycle.Builder builder()
-
serializableBuilderClass
public static Class<? extends RecoveryLifeCycle.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
-