Class WorkflowTypeInfo
- java.lang.Object
-
- software.amazon.awssdk.services.swf.model.WorkflowTypeInfo
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<WorkflowTypeInfo.Builder,WorkflowTypeInfo>
@Generated("software.amazon.awssdk:codegen") public final class WorkflowTypeInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WorkflowTypeInfo.Builder,WorkflowTypeInfo>
Contains information about a workflow type.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceWorkflowTypeInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WorkflowTypeInfo.Builderbuilder()InstantcreationDate()The date when this type was registered.InstantdeprecationDate()If the type is in deprecated state, then it is set to the date when the type was deprecated.Stringdescription()The description of the type registered through RegisterWorkflowType.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends WorkflowTypeInfo.Builder>serializableBuilderClass()RegistrationStatusstatus()The current status of the workflow type.StringstatusAsString()The current status of the workflow type.WorkflowTypeInfo.BuildertoBuilder()StringtoString()Returns a string representation of this object.WorkflowTypeworkflowType()The workflow type this information is about.-
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
-
workflowType
public final WorkflowType workflowType()
The workflow type this information is about.
- Returns:
- The workflow type this information is about.
-
status
public final 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,
statuswill returnRegistrationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the workflow type.
- See Also:
RegistrationStatus
-
statusAsString
public final String statusAsString()
The current status of the workflow type.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnRegistrationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the workflow type.
- See Also:
RegistrationStatus
-
description
public final String description()
The description of the type registered through RegisterWorkflowType.
- Returns:
- The description of the type registered through RegisterWorkflowType.
-
creationDate
public final Instant creationDate()
The date when this type was registered.
- Returns:
- The date when this type was registered.
-
deprecationDate
public final Instant deprecationDate()
If the type is in deprecated state, then it is set to the date when the type was deprecated.
- Returns:
- If the type is in deprecated state, then it is set to the date when the type was deprecated.
-
toBuilder
public WorkflowTypeInfo.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<WorkflowTypeInfo.Builder,WorkflowTypeInfo>
-
builder
public static WorkflowTypeInfo.Builder builder()
-
serializableBuilderClass
public static Class<? extends WorkflowTypeInfo.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.
-
-