Interface StageDeclaration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<StageDeclaration.Builder,StageDeclaration>,SdkBuilder<StageDeclaration.Builder,StageDeclaration>,SdkPojo
- Enclosing class:
- StageDeclaration
public static interface StageDeclaration.Builder extends SdkPojo, CopyableBuilder<StageDeclaration.Builder,StageDeclaration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StageDeclaration.Builderactions(Collection<ActionDeclaration> actions)The actions included in a stage.StageDeclaration.Builderactions(Consumer<ActionDeclaration.Builder>... actions)The actions included in a stage.StageDeclaration.Builderactions(ActionDeclaration... actions)The actions included in a stage.StageDeclaration.Builderblockers(Collection<BlockerDeclaration> blockers)Reserved for future use.StageDeclaration.Builderblockers(Consumer<BlockerDeclaration.Builder>... blockers)Reserved for future use.StageDeclaration.Builderblockers(BlockerDeclaration... blockers)Reserved for future use.StageDeclaration.Buildername(String name)The name of the stage.-
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
-
name
StageDeclaration.Builder name(String name)
The name of the stage.
- Parameters:
name- The name of the stage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blockers
StageDeclaration.Builder blockers(Collection<BlockerDeclaration> blockers)
Reserved for future use.
- Parameters:
blockers- Reserved for future use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blockers
StageDeclaration.Builder blockers(BlockerDeclaration... blockers)
Reserved for future use.
- Parameters:
blockers- Reserved for future use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blockers
StageDeclaration.Builder blockers(Consumer<BlockerDeclaration.Builder>... blockers)
Reserved for future use.
This is a convenience method that creates an instance of theBlockerDeclaration.Builderavoiding the need to create one manually viaBlockerDeclaration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#blockers(List.) - Parameters:
blockers- a consumer that will call methods onBlockerDeclaration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#blockers(java.util.Collection)
-
actions
StageDeclaration.Builder actions(Collection<ActionDeclaration> actions)
The actions included in a stage.
- Parameters:
actions- The actions included in a stage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
StageDeclaration.Builder actions(ActionDeclaration... actions)
The actions included in a stage.
- Parameters:
actions- The actions included in a stage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
StageDeclaration.Builder actions(Consumer<ActionDeclaration.Builder>... actions)
The actions included in a stage.
This is a convenience method that creates an instance of theActionDeclaration.Builderavoiding the need to create one manually viaActionDeclaration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#actions(List.) - Parameters:
actions- a consumer that will call methods onActionDeclaration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#actions(java.util.Collection)
-
-