Class ReplicationRun
- java.lang.Object
-
- software.amazon.awssdk.services.sms.model.ReplicationRun
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ReplicationRun.Builder,ReplicationRun>
@Generated("software.amazon.awssdk:codegen") public final class ReplicationRun extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReplicationRun.Builder,ReplicationRun>
Represents a replication run.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceReplicationRun.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringamiId()The ID of the Amazon Machine Image (AMI) from the replication run.static ReplicationRun.Builderbuilder()InstantcompletedTime()The completion time of the last replication run.Stringdescription()The description of the replication run.Booleanencrypted()Indicates whether the replication run should produce an encrypted AMI.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringkmsKeyId()The ID of the KMS key for replication jobs that produce encrypted AMIs.StringreplicationRunId()The ID of the replication run.InstantscheduledStartTime()The start time of the next replication run.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ReplicationRun.Builder>serializableBuilderClass()ReplicationRunStageDetailsstageDetails()Details about the current stage of the replication run.ReplicationRunStatestate()The state of the replication run.StringstateAsString()The state of the replication run.StringstatusMessage()The description of the current status of the replication job.ReplicationRun.BuildertoBuilder()StringtoString()Returns a string representation of this object.ReplicationRunTypetype()The type of replication run.StringtypeAsString()The type of replication run.-
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
-
replicationRunId
public final String replicationRunId()
The ID of the replication run.
- Returns:
- The ID of the replication run.
-
state
public final ReplicationRunState state()
The state of the replication run.
If the service returns an enum value that is not available in the current SDK version,
statewill returnReplicationRunState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the replication run.
- See Also:
ReplicationRunState
-
stateAsString
public final String stateAsString()
The state of the replication run.
If the service returns an enum value that is not available in the current SDK version,
statewill returnReplicationRunState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the replication run.
- See Also:
ReplicationRunState
-
type
public final ReplicationRunType type()
The type of replication run.
If the service returns an enum value that is not available in the current SDK version,
typewill returnReplicationRunType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of replication run.
- See Also:
ReplicationRunType
-
typeAsString
public final String typeAsString()
The type of replication run.
If the service returns an enum value that is not available in the current SDK version,
typewill returnReplicationRunType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of replication run.
- See Also:
ReplicationRunType
-
stageDetails
public final ReplicationRunStageDetails stageDetails()
Details about the current stage of the replication run.
- Returns:
- Details about the current stage of the replication run.
-
statusMessage
public final String statusMessage()
The description of the current status of the replication job.
- Returns:
- The description of the current status of the replication job.
-
amiId
public final String amiId()
The ID of the Amazon Machine Image (AMI) from the replication run.
- Returns:
- The ID of the Amazon Machine Image (AMI) from the replication run.
-
scheduledStartTime
public final Instant scheduledStartTime()
The start time of the next replication run.
- Returns:
- The start time of the next replication run.
-
completedTime
public final Instant completedTime()
The completion time of the last replication run.
- Returns:
- The completion time of the last replication run.
-
description
public final String description()
The description of the replication run.
- Returns:
- The description of the replication run.
-
encrypted
public final Boolean encrypted()
Indicates whether the replication run should produce an encrypted AMI.
- Returns:
- Indicates whether the replication run should produce an encrypted AMI.
-
kmsKeyId
public final String kmsKeyId()
The ID of the KMS key for replication jobs that produce encrypted AMIs. This value can be any of the following:
-
KMS key ID
-
KMS key alias
-
ARN referring to the KMS key ID
-
ARN referring to the KMS key alias
If encrypted is true but a KMS key ID is not specified, the customer's default KMS key for Amazon EBS is used.
- Returns:
- The ID of the KMS key for replication jobs that produce encrypted AMIs. This value can be any of the
following:
-
KMS key ID
-
KMS key alias
-
ARN referring to the KMS key ID
-
ARN referring to the KMS key alias
If encrypted is true but a KMS key ID is not specified, the customer's default KMS key for Amazon EBS is used.
-
-
-
toBuilder
public ReplicationRun.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ReplicationRun.Builder,ReplicationRun>
-
builder
public static ReplicationRun.Builder builder()
-
serializableBuilderClass
public static Class<? extends ReplicationRun.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-