@Generated(value="software.amazon.awssdk:codegen") public class StepStateChangeReason extends Object implements StructuredPojo, ToCopyableBuilder<StepStateChangeReason.Builder,StepStateChangeReason>
The details of the step state change reason.
Modifier and Type | Class and Description |
---|---|
static interface |
StepStateChangeReason.Builder |
Modifier and Type | Method and Description |
---|---|
static StepStateChangeReason.Builder |
builder() |
StepStateChangeReasonCode |
code()
The programmable code for the state change reason.
|
String |
codeString()
The programmable code for the state change reason.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
message()
The descriptive message for the state change reason.
|
static Class<? extends StepStateChangeReason.Builder> |
serializableBuilderClass() |
StepStateChangeReason.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public StepStateChangeReasonCode code()
The programmable code for the state change reason. Note: Currently, the service provides no code for the state change.
If the service returns an enum value that is not available in the current SDK version, code
will return
StepStateChangeReasonCode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
codeString()
.
StepStateChangeReasonCode
public String codeString()
The programmable code for the state change reason. Note: Currently, the service provides no code for the state change.
If the service returns an enum value that is not available in the current SDK version, code
will return
StepStateChangeReasonCode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
codeString()
.
StepStateChangeReasonCode
public String message()
The descriptive message for the state change reason.
public StepStateChangeReason.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<StepStateChangeReason.Builder,StepStateChangeReason>
public static StepStateChangeReason.Builder builder()
public static Class<? extends StepStateChangeReason.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.