CopyableBuilder<ActionDeclaration.Builder,ActionDeclaration>
, SdkBuilder<ActionDeclaration.Builder,ActionDeclaration>
public static interface ActionDeclaration.Builder extends CopyableBuilder<ActionDeclaration.Builder,ActionDeclaration>
Modifier and Type | Method | Description |
---|---|---|
ActionDeclaration.Builder |
actionTypeId(ActionTypeId 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(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(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
apply, 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.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.
NOTE: This method appends the values to the existing list (if any). Use
#setOutputArtifacts(java.util.Collection)
or #withOutputArtifacts(java.util.Collection)
if
you want to override the existing values.
outputArtifacts
- The name or ID of the result of the action declaration, such as a test or build artifact.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.
NOTE: This method appends the values to the existing list (if any). Use
#setInputArtifacts(java.util.Collection)
or #withInputArtifacts(java.util.Collection)
if you
want to override the existing values.
inputArtifacts
- The name or ID of the artifact consumed by the action, 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. 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.