@Generated(value="software.amazon.awssdk:codegen") public class WorkflowTypeInfo extends Object implements StructuredPojo, ToCopyableBuilder<WorkflowTypeInfo.Builder,WorkflowTypeInfo>
Contains information about a workflow type.
Modifier and Type | Class and Description |
---|---|
static interface |
WorkflowTypeInfo.Builder |
Modifier and Type | Method and Description |
---|---|
static WorkflowTypeInfo.Builder |
builder() |
Instant |
creationDate()
The date when this type was registered.
|
Instant |
deprecationDate()
If the type is in deprecated state, then it is set to the date when the type was deprecated.
|
String |
description()
The description of the type registered through RegisterWorkflowType.
|
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 . |
static Class<? extends WorkflowTypeInfo.Builder> |
serializableBuilderClass() |
RegistrationStatus |
status()
The current status of the workflow type.
|
String |
statusString()
The current status of the workflow type.
|
WorkflowTypeInfo.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
WorkflowType |
workflowType()
The workflow type this information is about.
|
copy
public WorkflowType workflowType()
The workflow type this information is about.
public RegistrationStatus status()
The current status of the workflow type.
If the service returns an enum value that is not available in the current SDK version, status
will
return RegistrationStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusString()
.
RegistrationStatus
public String statusString()
The current status of the workflow type.
If the service returns an enum value that is not available in the current SDK version, status
will
return RegistrationStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusString()
.
RegistrationStatus
public String description()
The description of the type registered through RegisterWorkflowType.
public Instant creationDate()
The date when this type was registered.
public Instant deprecationDate()
If the type is in deprecated state, then it is set to the date when the type was deprecated.
public WorkflowTypeInfo.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<WorkflowTypeInfo.Builder,WorkflowTypeInfo>
public static WorkflowTypeInfo.Builder builder()
public static Class<? extends WorkflowTypeInfo.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.