Class GetWorkflowResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.customerprofiles.model.CustomerProfilesResponse
-
- software.amazon.awssdk.services.customerprofiles.model.GetWorkflowResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetWorkflowResponse.Builder,GetWorkflowResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetWorkflowResponse extends CustomerProfilesResponse implements ToCopyableBuilder<GetWorkflowResponse.Builder,GetWorkflowResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetWorkflowResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowAttributesattributes()Attributes provided for workflow execution.static GetWorkflowResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringerrorDescription()Workflow error messages during execution (if any).<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastUpdatedAt()The timestamp that represents when workflow execution last updated.WorkflowMetricsmetrics()Workflow specific execution metrics.List<SdkField<?>>sdkFields()static Class<? extends GetWorkflowResponse.Builder>serializableBuilderClass()InstantstartDate()The timestamp that represents when workflow execution started.Statusstatus()Status of workflow execution.StringstatusAsString()Status of workflow execution.GetWorkflowResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringworkflowId()Unique identifier for the workflow.WorkflowTypeworkflowType()The type of workflow.StringworkflowTypeAsString()The type of workflow.-
Methods inherited from class software.amazon.awssdk.services.customerprofiles.model.CustomerProfilesResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
workflowId
public final String workflowId()
Unique identifier for the workflow.
- Returns:
- Unique identifier for the workflow.
-
workflowType
public final WorkflowType workflowType()
The type of workflow. The only supported value is APPFLOW_INTEGRATION.
If the service returns an enum value that is not available in the current SDK version,
workflowTypewill returnWorkflowType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromworkflowTypeAsString().- Returns:
- The type of workflow. The only supported value is APPFLOW_INTEGRATION.
- See Also:
WorkflowType
-
workflowTypeAsString
public final String workflowTypeAsString()
The type of workflow. The only supported value is APPFLOW_INTEGRATION.
If the service returns an enum value that is not available in the current SDK version,
workflowTypewill returnWorkflowType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromworkflowTypeAsString().- Returns:
- The type of workflow. The only supported value is APPFLOW_INTEGRATION.
- See Also:
WorkflowType
-
status
public final Status status()
Status of workflow execution.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Status of workflow execution.
- See Also:
Status
-
statusAsString
public final String statusAsString()
Status of workflow execution.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Status of workflow execution.
- See Also:
Status
-
errorDescription
public final String errorDescription()
Workflow error messages during execution (if any).
- Returns:
- Workflow error messages during execution (if any).
-
startDate
public final Instant startDate()
The timestamp that represents when workflow execution started.
- Returns:
- The timestamp that represents when workflow execution started.
-
lastUpdatedAt
public final Instant lastUpdatedAt()
The timestamp that represents when workflow execution last updated.
- Returns:
- The timestamp that represents when workflow execution last updated.
-
attributes
public final WorkflowAttributes attributes()
Attributes provided for workflow execution.
- Returns:
- Attributes provided for workflow execution.
-
metrics
public final WorkflowMetrics metrics()
Workflow specific execution metrics.
- Returns:
- Workflow specific execution metrics.
-
toBuilder
public GetWorkflowResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetWorkflowResponse.Builder,GetWorkflowResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetWorkflowResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetWorkflowResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-