Class RemediationExecutionStep
- java.lang.Object
-
- software.amazon.awssdk.services.config.model.RemediationExecutionStep
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RemediationExecutionStep.Builder,RemediationExecutionStep>
@Generated("software.amazon.awssdk:codegen") public final class RemediationExecutionStep extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RemediationExecutionStep.Builder,RemediationExecutionStep>
Name of the step from the SSM document.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRemediationExecutionStep.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RemediationExecutionStep.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringerrorMessage()An error message if the step was interrupted during execution.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The details of the step.List<SdkField<?>>sdkFields()static Class<? extends RemediationExecutionStep.Builder>serializableBuilderClass()InstantstartTime()The time when the step started.RemediationExecutionStepStatestate()The valid status of the step.StringstateAsString()The valid status of the step.InstantstopTime()The time when the step stopped.RemediationExecutionStep.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
-
name
public final String name()
The details of the step.
- Returns:
- The details of the step.
-
state
public final RemediationExecutionStepState state()
The valid status of the step.
If the service returns an enum value that is not available in the current SDK version,
statewill returnRemediationExecutionStepState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The valid status of the step.
- See Also:
RemediationExecutionStepState
-
stateAsString
public final String stateAsString()
The valid status of the step.
If the service returns an enum value that is not available in the current SDK version,
statewill returnRemediationExecutionStepState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The valid status of the step.
- See Also:
RemediationExecutionStepState
-
errorMessage
public final String errorMessage()
An error message if the step was interrupted during execution.
- Returns:
- An error message if the step was interrupted during execution.
-
startTime
public final Instant startTime()
The time when the step started.
- Returns:
- The time when the step started.
-
stopTime
public final Instant stopTime()
The time when the step stopped.
- Returns:
- The time when the step stopped.
-
toBuilder
public RemediationExecutionStep.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RemediationExecutionStep.Builder,RemediationExecutionStep>
-
builder
public static RemediationExecutionStep.Builder builder()
-
serializableBuilderClass
public static Class<? extends RemediationExecutionStep.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.
-
-