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.Builderarn(String arn)The Amazon Resource Name (ARN) of the workflow resource.WorkflowSummary.BuilderchangeDescription(String changeDescription)The change description for the current version of the workflow resource.WorkflowSummary.BuilderdateCreated(String dateCreated)The original creation date of the workflow resource.WorkflowSummary.Builderdescription(String description)Describes the workflow.WorkflowSummary.Buildername(String name)The name of the workflow.WorkflowSummary.Builderowner(String owner)The owner of the workflow resource.default WorkflowSummary.Builderstate(Consumer<WorkflowState.Builder> state)Describes the current state of the workflow resource.WorkflowSummary.Builderstate(WorkflowState state)Describes the current state of the workflow resource.WorkflowSummary.Buildertags(Map<String,String> tags)Contains a list of tags that are defined for the workflow.WorkflowSummary.Buildertype(String type)The image creation stage that this workflow applies to.WorkflowSummary.Buildertype(WorkflowType type)The image creation stage that this workflow applies to.WorkflowSummary.Builderversion(String version)The version 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
-
arn
WorkflowSummary.Builder arn(String arn)
The Amazon Resource Name (ARN) of the workflow resource.
- Parameters:
arn- The Amazon Resource Name (ARN) of the workflow resource.- 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.
-
version
WorkflowSummary.Builder version(String version)
The version of the workflow.
- Parameters:
version- The version of the workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
WorkflowSummary.Builder description(String description)
Describes the workflow.
- Parameters:
description- Describes the workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
changeDescription
WorkflowSummary.Builder changeDescription(String changeDescription)
The change description for the current version of the workflow resource.
- Parameters:
changeDescription- The change description for the current version of the workflow resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
WorkflowSummary.Builder type(String type)
The image creation stage that this workflow applies to. Image Builder currently supports build and test stage workflows.
- Parameters:
type- The image creation stage that this workflow applies to. Image Builder currently supports build and test stage workflows.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WorkflowType,WorkflowType
-
type
WorkflowSummary.Builder type(WorkflowType type)
The image creation stage that this workflow applies to. Image Builder currently supports build and test stage workflows.
- Parameters:
type- The image creation stage that this workflow applies to. Image Builder currently supports build and test stage workflows.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WorkflowType,WorkflowType
-
owner
WorkflowSummary.Builder owner(String owner)
The owner of the workflow resource.
- Parameters:
owner- The owner of the workflow resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
WorkflowSummary.Builder state(WorkflowState state)
Describes the current state of the workflow resource.
- Parameters:
state- Describes the current state of the workflow resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
default WorkflowSummary.Builder state(Consumer<WorkflowState.Builder> state)
Describes the current state of the workflow resource.
This is a convenience method that creates an instance of theWorkflowState.Builderavoiding the need to create one manually viaWorkflowState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostate(WorkflowState).- Parameters:
state- a consumer that will call methods onWorkflowState.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
state(WorkflowState)
-
dateCreated
WorkflowSummary.Builder dateCreated(String dateCreated)
The original creation date of the workflow resource.
- Parameters:
dateCreated- The original creation date of the workflow resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
WorkflowSummary.Builder tags(Map<String,String> tags)
Contains a list of tags that are defined for the workflow.
- Parameters:
tags- Contains a list of tags that are defined for the workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-