Class LifeCycle
- java.lang.Object
-
- software.amazon.awssdk.services.drs.model.LifeCycle
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LifeCycle.Builder,LifeCycle>
@Generated("software.amazon.awssdk:codegen") public final class LifeCycle extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LifeCycle.Builder,LifeCycle>
An object representing the Source Server Lifecycle.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLifeCycle.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaddedToServiceDateTime()The date and time of when the Source Server was added to the service.static LifeCycle.Builderbuilder()StringelapsedReplicationDuration()The amount of time that the Source Server has been replicating for.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfirstByteDateTime()The date and time of the first byte that was replicated from the Source Server.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LifeCycleLastLaunchlastLaunch()An object containing information regarding the last launch of the Source Server.StringlastSeenByServiceDateTime()The date and time this Source Server was last seen by the service.List<SdkField<?>>sdkFields()static Class<? extends LifeCycle.Builder>serializableBuilderClass()LifeCycle.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
-
addedToServiceDateTime
public final String addedToServiceDateTime()
The date and time of when the Source Server was added to the service.
- Returns:
- The date and time of when the Source Server was added to the service.
-
elapsedReplicationDuration
public final String elapsedReplicationDuration()
The amount of time that the Source Server has been replicating for.
- Returns:
- The amount of time that the Source Server has been replicating for.
-
firstByteDateTime
public final String firstByteDateTime()
The date and time of the first byte that was replicated from the Source Server.
- Returns:
- The date and time of the first byte that was replicated from the Source Server.
-
lastLaunch
public final LifeCycleLastLaunch lastLaunch()
An object containing information regarding the last launch of the Source Server.
- Returns:
- An object containing information regarding the last launch of the Source Server.
-
lastSeenByServiceDateTime
public final String lastSeenByServiceDateTime()
The date and time this Source Server was last seen by the service.
- Returns:
- The date and time this Source Server was last seen by the service.
-
toBuilder
public LifeCycle.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LifeCycle.Builder,LifeCycle>
-
builder
public static LifeCycle.Builder builder()
-
serializableBuilderClass
public static Class<? extends LifeCycle.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.
-
-