Interface WorkflowSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<WorkflowSummary.Builder,
,WorkflowSummary> SdkBuilder<WorkflowSummary.Builder,
,WorkflowSummary> SdkPojo
- Enclosing class:
WorkflowSummary
-
Method Summary
Modifier and TypeMethodDescriptioncreatedTime
(Instant createdTime) The date and time the workflow was created, in coordinated universal time (UTC) timestamp format as specified in RFC 3339default WorkflowSummary.Builder
definition
(Consumer<WorkflowDefinitionSummary.Builder> definition) Information about the workflow definition file.definition
(WorkflowDefinitionSummary definition) Information about the workflow definition file.The system-generated unique ID of a workflow.lastUpdatedTime
(Instant lastUpdatedTime) The date and time the workflow was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339The name of the workflow.The run mode of the workflow.runMode
(WorkflowRunMode runMode) The run mode of the workflow.sourceBranchName
(String sourceBranchName) The name of the branch of the source repository where the workflow definition file is stored.sourceRepositoryName
(String sourceRepositoryName) The name of the source repository where the workflow definition file is stored.The status of the workflow.status
(WorkflowStatus status) The status of the workflow.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 Details
-
id
The system-generated unique ID of a workflow.
- Parameters:
id
- The system-generated unique ID of a workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the workflow.
- Parameters:
name
- The name of the workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceRepositoryName
The name of the source repository where the workflow definition file is stored.
- Parameters:
sourceRepositoryName
- The name of the source repository where the workflow definition file is stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceBranchName
The name of the branch of the source repository where the workflow definition file is stored.
- Parameters:
sourceBranchName
- The name of the branch of the source repository where the workflow definition file is stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
Information about the workflow definition file.
- Parameters:
definition
- Information about the workflow definition file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
Information about the workflow definition file.
This is a convenience method that creates an instance of theWorkflowDefinitionSummary.Builder
avoiding the need to create one manually viaWorkflowDefinitionSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todefinition(WorkflowDefinitionSummary)
.- Parameters:
definition
- a consumer that will call methods onWorkflowDefinitionSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdTime
The date and time the workflow was created, in coordinated universal time (UTC) timestamp format as specified in RFC 3339
- Parameters:
createdTime
- The date and time the workflow was created, in coordinated universal time (UTC) timestamp format as specified in RFC 3339- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTime
The date and time the workflow was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339
- Parameters:
lastUpdatedTime
- The date and time the workflow was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runMode
The run mode of the workflow.
- Parameters:
runMode
- The run mode of the workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
runMode
The run mode of the workflow.
- Parameters:
runMode
- The run mode of the workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the workflow.
- Parameters:
status
- The status of the workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the workflow.
- Parameters:
status
- The status of the workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-