public static interface ActionDeclaration.Builder extends CopyableBuilder<ActionDeclaration.Builder,ActionDeclaration>
Modifier and Type | Method and Description |
---|---|
ActionDeclaration.Builder |
actionTypeId(ActionTypeId actionTypeId)
The configuration information for the action type.
|
default ActionDeclaration.Builder |
actionTypeId(Consumer<ActionTypeId.Builder> actionTypeId)
The configuration information for the action type.
|
ActionDeclaration.Builder |
configuration(Map<String,String> configuration)
The action declaration's configuration.
|
ActionDeclaration.Builder |
inputArtifacts(Collection<InputArtifact> inputArtifacts)
The name or ID of the artifact consumed by the action, such as a test or build artifact.
|
ActionDeclaration.Builder |
inputArtifacts(Consumer<InputArtifact.Builder>... inputArtifacts)
The name or ID of the artifact consumed by the action, such as a test or build artifact.
|
ActionDeclaration.Builder |
inputArtifacts(InputArtifact... inputArtifacts)
The name or ID of the artifact consumed by the action, such as a test or build artifact.
|
ActionDeclaration.Builder |
name(String name)
The action declaration's name.
|
ActionDeclaration.Builder |
outputArtifacts(Collection<OutputArtifact> outputArtifacts)
The name or ID of the result of the action declaration, such as a test or build artifact.
|
ActionDeclaration.Builder |
outputArtifacts(Consumer<OutputArtifact.Builder>... outputArtifacts)
The name or ID of the result of the action declaration, such as a test or build artifact.
|
ActionDeclaration.Builder |
outputArtifacts(OutputArtifact... outputArtifacts)
The name or ID of the result of the action declaration, such as a test or build artifact.
|
ActionDeclaration.Builder |
roleArn(String roleArn)
The ARN of the IAM service role that will perform the declared action.
|
ActionDeclaration.Builder |
runOrder(Integer runOrder)
The order in which actions are run.
|
copy
applyMutation, build
ActionDeclaration.Builder name(String name)
The action declaration's name.
name
- The action declaration's name.ActionDeclaration.Builder actionTypeId(ActionTypeId actionTypeId)
The configuration information for the action type.
actionTypeId
- The configuration information for the action type.default ActionDeclaration.Builder actionTypeId(Consumer<ActionTypeId.Builder> actionTypeId)
The configuration information for the action type.
This is a convenience that creates an instance of theActionTypeId.Builder
avoiding the need to
create one manually via ActionTypeId.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to actionTypeId(ActionTypeId)
.actionTypeId
- a consumer that will call methods on ActionTypeId.Builder
actionTypeId(ActionTypeId)
ActionDeclaration.Builder runOrder(Integer runOrder)
The order in which actions are run.
runOrder
- The order in which actions are run.ActionDeclaration.Builder configuration(Map<String,String> configuration)
The action declaration's configuration.
configuration
- The action declaration's configuration.ActionDeclaration.Builder outputArtifacts(Collection<OutputArtifact> outputArtifacts)
The name or ID of the result of the action declaration, such as a test or build artifact.
outputArtifacts
- The name or ID of the result of the action declaration, such as a test or build artifact.ActionDeclaration.Builder outputArtifacts(OutputArtifact... outputArtifacts)
The name or ID of the result of the action declaration, such as a test or build artifact.
outputArtifacts
- The name or ID of the result of the action declaration, such as a test or build artifact.ActionDeclaration.Builder outputArtifacts(Consumer<OutputArtifact.Builder>... outputArtifacts)
The name or ID of the result of the action declaration, such as a test or build artifact.
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 #outputArtifacts(List)
.outputArtifacts
- a consumer that will call methods on List.Builder
#outputArtifacts(List)
ActionDeclaration.Builder inputArtifacts(Collection<InputArtifact> inputArtifacts)
The name or ID of the artifact consumed by the action, such as a test or build artifact.
inputArtifacts
- The name or ID of the artifact consumed by the action, such as a test or build artifact.ActionDeclaration.Builder inputArtifacts(InputArtifact... inputArtifacts)
The name or ID of the artifact consumed by the action, such as a test or build artifact.
inputArtifacts
- The name or ID of the artifact consumed by the action, such as a test or build artifact.ActionDeclaration.Builder inputArtifacts(Consumer<InputArtifact.Builder>... inputArtifacts)
The name or ID of the artifact consumed by the action, such as a test or build artifact.
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 #inputArtifacts(List)
.inputArtifacts
- a consumer that will call methods on List.Builder
#inputArtifacts(List)
ActionDeclaration.Builder roleArn(String roleArn)
The ARN of the IAM service role that will perform the declared action. This is assumed through the roleArn for the pipeline.
roleArn
- The ARN of the IAM service role that will perform the declared action. This is assumed through the
roleArn for the pipeline.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.