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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description WorkflowTypeInfo.BuildercreationDate(Instant creationDate)The date when this type was registered.WorkflowTypeInfo.BuilderdeprecationDate(Instant deprecationDate)If the type is in deprecated state, then it is set to the date when the type was deprecated.WorkflowTypeInfo.Builderdescription(String description)The description of the type registered through RegisterWorkflowType.WorkflowTypeInfo.Builderstatus(String status)The current status of the workflow type.WorkflowTypeInfo.Builderstatus(RegistrationStatus status)The current status of the workflow type.default WorkflowTypeInfo.BuilderworkflowType(Consumer<WorkflowType.Builder> workflowType)The workflow type this information is about.WorkflowTypeInfo.BuilderworkflowType(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
workflowType
WorkflowTypeInfo.Builder workflowType(WorkflowType 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
default WorkflowTypeInfo.Builder workflowType(Consumer<WorkflowType.Builder> workflowType)
The workflow type this information is about.
This is a convenience method that creates an instance of theWorkflowType.Builderavoiding the need to create one manually viaWorkflowType.builder().When the
Consumercompletes,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:
workflowType(WorkflowType)
-
status
WorkflowTypeInfo.Builder status(String 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:
RegistrationStatus,RegistrationStatus
-
status
WorkflowTypeInfo.Builder status(RegistrationStatus 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:
RegistrationStatus,RegistrationStatus
-
description
WorkflowTypeInfo.Builder description(String 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
WorkflowTypeInfo.Builder creationDate(Instant 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
WorkflowTypeInfo.Builder deprecationDate(Instant 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.
-
-