public static interface StageDeclaration.Builder extends CopyableBuilder<StageDeclaration.Builder,StageDeclaration>
Modifier and Type | Method and Description |
---|---|
StageDeclaration.Builder |
actions(ActionDeclaration... actions)
The actions included in a stage.
|
StageDeclaration.Builder |
actions(Collection<ActionDeclaration> actions)
The actions included in a stage.
|
StageDeclaration.Builder |
actions(Consumer<ActionDeclaration.Builder>... actions)
The actions included in a stage.
|
StageDeclaration.Builder |
blockers(BlockerDeclaration... blockers)
Reserved for future use.
|
StageDeclaration.Builder |
blockers(Collection<BlockerDeclaration> blockers)
Reserved for future use.
|
StageDeclaration.Builder |
blockers(Consumer<BlockerDeclaration.Builder>... blockers)
Reserved for future use.
|
StageDeclaration.Builder |
name(String name)
The name of the stage.
|
copy
apply, build
StageDeclaration.Builder name(String name)
The name of the stage.
name
- The name of the stage.StageDeclaration.Builder blockers(Collection<BlockerDeclaration> blockers)
Reserved for future use.
blockers
- Reserved for future use.StageDeclaration.Builder blockers(BlockerDeclaration... blockers)
Reserved for future use.
blockers
- Reserved for future use.StageDeclaration.Builder blockers(Consumer<BlockerDeclaration.Builder>... blockers)
Reserved for future use.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #blockers(List)
.blockers
- a consumer that will call methods on List.Builder
#blockers(List)
StageDeclaration.Builder actions(Collection<ActionDeclaration> actions)
The actions included in a stage.
actions
- The actions included in a stage.StageDeclaration.Builder actions(ActionDeclaration... actions)
The actions included in a stage.
actions
- The actions included in a stage.StageDeclaration.Builder actions(Consumer<ActionDeclaration.Builder>... actions)
The actions included in a stage.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #actions(List)
.actions
- a consumer that will call methods on List.Builder
#actions(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.