Class StepDetails
- java.lang.Object
-
- software.amazon.awssdk.services.lambda.model.StepDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<StepDetails.Builder,StepDetails>
@Generated("software.amazon.awssdk:codegen") public final class StepDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StepDetails.Builder,StepDetails>
Details about a step operation.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStepDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Integerattempt()The current attempt number for this step.static StepDetails.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ErrorObjecterror()Details about the step failure.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantnextAttemptTimestamp()The date and time when the next attempt is scheduled, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).Stringresult()The JSON response payload from the step operation.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends StepDetails.Builder>serializableBuilderClass()StepDetails.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
-
attempt
public final Integer attempt()
The current attempt number for this step.
- Returns:
- The current attempt number for this step.
-
nextAttemptTimestamp
public final Instant nextAttemptTimestamp()
The date and time when the next attempt is scheduled, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD). Only populated when the step is in a pending state.
- Returns:
- The date and time when the next attempt is scheduled, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD). Only populated when the step is in a pending state.
-
result
public final String result()
The JSON response payload from the step operation.
- Returns:
- The JSON response payload from the step operation.
-
error
public final ErrorObject error()
Details about the step failure.
- Returns:
- Details about the step failure.
-
toBuilder
public StepDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StepDetails.Builder,StepDetails>
-
builder
public static StepDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends StepDetails.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
-
-