Interface DescribeWorkflowTypeResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeWorkflowTypeResponse.Builder,DescribeWorkflowTypeResponse>,SdkBuilder<DescribeWorkflowTypeResponse.Builder,DescribeWorkflowTypeResponse>,SdkPojo,SdkResponse.Builder,SwfResponse.Builder
- Enclosing class:
- DescribeWorkflowTypeResponse
public static interface DescribeWorkflowTypeResponse.Builder extends SwfResponse.Builder, SdkPojo, CopyableBuilder<DescribeWorkflowTypeResponse.Builder,DescribeWorkflowTypeResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribeWorkflowTypeResponse.Builderconfiguration(Consumer<WorkflowTypeConfiguration.Builder> configuration)Configuration settings of the workflow type registered through RegisterWorkflowTypeDescribeWorkflowTypeResponse.Builderconfiguration(WorkflowTypeConfiguration configuration)Configuration settings of the workflow type registered through RegisterWorkflowTypedefault DescribeWorkflowTypeResponse.BuildertypeInfo(Consumer<WorkflowTypeInfo.Builder> typeInfo)General information about the workflow type.DescribeWorkflowTypeResponse.BuildertypeInfo(WorkflowTypeInfo typeInfo)General information about the workflow type.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.swf.model.SwfResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
typeInfo
DescribeWorkflowTypeResponse.Builder typeInfo(WorkflowTypeInfo typeInfo)
General information about the workflow type.
The status of the workflow type (returned in the WorkflowTypeInfo structure) can be one of the following.
-
REGISTERED– The type is registered and available. Workers supporting this type should be running. -
DEPRECATED– The type was deprecated using DeprecateWorkflowType, but is still in use. You should keep workers supporting this type running. You cannot create new workflow executions of this type.
- Parameters:
typeInfo- General information about the workflow type.The status of the workflow type (returned in the WorkflowTypeInfo structure) can be one of the following.
-
REGISTERED– The type is registered and available. Workers supporting this type should be running. -
DEPRECATED– The type was deprecated using DeprecateWorkflowType, but is still in use. You should keep workers supporting this type running. You cannot create new workflow executions of this type.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
typeInfo
default DescribeWorkflowTypeResponse.Builder typeInfo(Consumer<WorkflowTypeInfo.Builder> typeInfo)
General information about the workflow type.
The status of the workflow type (returned in the WorkflowTypeInfo structure) can be one of the following.
-
REGISTERED– The type is registered and available. Workers supporting this type should be running. -
DEPRECATED– The type was deprecated using DeprecateWorkflowType, but is still in use. You should keep workers supporting this type running. You cannot create new workflow executions of this type.
WorkflowTypeInfo.Builderavoiding the need to create one manually viaWorkflowTypeInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totypeInfo(WorkflowTypeInfo).- Parameters:
typeInfo- a consumer that will call methods onWorkflowTypeInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
typeInfo(WorkflowTypeInfo)
-
-
configuration
DescribeWorkflowTypeResponse.Builder configuration(WorkflowTypeConfiguration configuration)
Configuration settings of the workflow type registered through RegisterWorkflowType
- Parameters:
configuration- Configuration settings of the workflow type registered through RegisterWorkflowType- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default DescribeWorkflowTypeResponse.Builder configuration(Consumer<WorkflowTypeConfiguration.Builder> configuration)
Configuration settings of the workflow type registered through RegisterWorkflowType
This is a convenience method that creates an instance of theWorkflowTypeConfiguration.Builderavoiding the need to create one manually viaWorkflowTypeConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(WorkflowTypeConfiguration).- Parameters:
configuration- a consumer that will call methods onWorkflowTypeConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
configuration(WorkflowTypeConfiguration)
-
-