Interface WorkflowTypeInfo.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<WorkflowTypeInfo.Builder,
,WorkflowTypeInfo> SdkBuilder<WorkflowTypeInfo.Builder,
,WorkflowTypeInfo> SdkPojo
- Enclosing class:
WorkflowTypeInfo
public static interface WorkflowTypeInfo.Builder
extends SdkPojo, CopyableBuilder<WorkflowTypeInfo.Builder,WorkflowTypeInfo>
-
Method Summary
Modifier and TypeMethodDescriptioncreationDate
(Instant creationDate) The date when this type was registered.deprecationDate
(Instant deprecationDate) If the type is in deprecated state, then it is set to the date when the type was deprecated.description
(String description) The description of the type registered through RegisterWorkflowType.The current status of the workflow type.status
(RegistrationStatus status) The current status of the workflow type.default WorkflowTypeInfo.Builder
workflowType
(Consumer<WorkflowType.Builder> workflowType) The workflow type this information is about.workflowType
(WorkflowType workflowType) The workflow type this information is about.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
-
Method Details
-
workflowType
The workflow type this information is about.
- Parameters:
workflowType
- The workflow type this information is about.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflowType
The workflow type this information is about.
This is a convenience method that creates an instance of theWorkflowType.Builder
avoiding the need to create one manually viaWorkflowType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toworkflowType(WorkflowType)
.- Parameters:
workflowType
- a consumer that will call methods onWorkflowType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the workflow type.
- Parameters:
status
- The current status of the workflow type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the workflow type.
- Parameters:
status
- The current status of the workflow type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
The description of the type registered through RegisterWorkflowType.
- Parameters:
description
- The description of the type registered through RegisterWorkflowType.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDate
The date when this type was registered.
- Parameters:
creationDate
- The date when this type was registered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deprecationDate
If the type is in deprecated state, then it is set to the date when the type was deprecated.
- Parameters:
deprecationDate
- If the type is in deprecated state, then it is set to the date when the type was deprecated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-