Interface WorkflowSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<WorkflowSummary.Builder,WorkflowSummary>,SdkBuilder<WorkflowSummary.Builder,WorkflowSummary>,SdkPojo
- Enclosing class:
- WorkflowSummary
public static interface WorkflowSummary.Builder extends SdkPojo, CopyableBuilder<WorkflowSummary.Builder,WorkflowSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description WorkflowSummary.BuildercreatedTime(Instant createdTime)The date and time the workflow was created, in coordinated universal time (UTC) timestamp format as specified in RFC 3339default WorkflowSummary.Builderdefinition(Consumer<WorkflowDefinitionSummary.Builder> definition)Information about the workflow definition file.WorkflowSummary.Builderdefinition(WorkflowDefinitionSummary definition)Information about the workflow definition file.WorkflowSummary.Builderid(String id)The system-generated unique ID of a workflow.WorkflowSummary.BuilderlastUpdatedTime(Instant lastUpdatedTime)The date and time the workflow was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339WorkflowSummary.Buildername(String name)The name of the workflow.WorkflowSummary.BuilderrunMode(String runMode)The run mode of the workflow.WorkflowSummary.BuilderrunMode(WorkflowRunMode runMode)The run mode of the workflow.WorkflowSummary.BuildersourceBranchName(String sourceBranchName)The name of the branch of the source repository where the workflow definition file is stored.WorkflowSummary.BuildersourceRepositoryName(String sourceRepositoryName)The name of the source repository where the workflow definition file is stored.WorkflowSummary.Builderstatus(String status)The status of the workflow.WorkflowSummary.Builderstatus(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, sdkFields
-
-
-
-
Method Detail
-
id
WorkflowSummary.Builder id(String 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
WorkflowSummary.Builder name(String 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
WorkflowSummary.Builder sourceRepositoryName(String 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
WorkflowSummary.Builder sourceBranchName(String 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
WorkflowSummary.Builder definition(WorkflowDefinitionSummary 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
default WorkflowSummary.Builder definition(Consumer<WorkflowDefinitionSummary.Builder> definition)
Information about the workflow definition file.
This is a convenience method that creates an instance of theWorkflowDefinitionSummary.Builderavoiding the need to create one manually viaWorkflowDefinitionSummary.builder().When the
Consumercompletes,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:
definition(WorkflowDefinitionSummary)
-
createdTime
WorkflowSummary.Builder createdTime(Instant 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
WorkflowSummary.Builder lastUpdatedTime(Instant 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
WorkflowSummary.Builder runMode(String 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:
WorkflowRunMode,WorkflowRunMode
-
runMode
WorkflowSummary.Builder runMode(WorkflowRunMode 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:
WorkflowRunMode,WorkflowRunMode
-
status
WorkflowSummary.Builder status(String 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:
WorkflowStatus,WorkflowStatus
-
status
WorkflowSummary.Builder status(WorkflowStatus 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:
WorkflowStatus,WorkflowStatus
-
-