public static interface ActionDeclaration.Builder extends SdkPojo, CopyableBuilder<ActionDeclaration.Builder,ActionDeclaration>
| Modifier and Type | Method and Description |
|---|---|
ActionDeclaration.Builder |
actionTypeId(ActionTypeId actionTypeId)
Specifies the action type and the provider of the action.
|
default ActionDeclaration.Builder |
actionTypeId(Consumer<ActionTypeId.Builder> actionTypeId)
Specifies the action type and the provider of the action.
|
ActionDeclaration.Builder |
configuration(Map<String,String> configuration)
The action'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 |
namespace(String namespace)
The variable namespace associated with the action.
|
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 |
region(String region)
The action declaration's Amazon Web Services Region, such as us-east-1.
|
ActionDeclaration.Builder |
roleArn(String roleArn)
The ARN of the IAM service role that performs the declared action.
|
ActionDeclaration.Builder |
runOrder(Integer runOrder)
The order in which actions are run.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildActionDeclaration.Builder name(String name)
The action declaration's name.
name - The action declaration's name.ActionDeclaration.Builder actionTypeId(ActionTypeId actionTypeId)
Specifies the action type and the provider of the action.
actionTypeId - Specifies the action type and the provider of the action.default ActionDeclaration.Builder actionTypeId(Consumer<ActionTypeId.Builder> actionTypeId)
Specifies the action type and the provider of the action.
This is a convenience method 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.BuilderactionTypeId(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's configuration. These are key-value pairs that specify input values for an action. For more information, see Action Structure Requirements in CodePipeline. For the list of configuration properties for the CloudFormation action type in CodePipeline, see Configuration Properties Reference in the CloudFormation User Guide. For template snippets with examples, see Using Parameter Override Functions with CodePipeline Pipelines in the CloudFormation User Guide.
The values can be represented in either JSON or YAML format. For example, the JSON configuration item format is as follows:
JSON:
"Configuration" : { Key : Value },
configuration - The action's configuration. These are key-value pairs that specify input values for an action. For
more information, see Action Structure Requirements in CodePipeline. For the list of configuration properties for the
CloudFormation action type in CodePipeline, see Configuration Properties Reference in the CloudFormation User Guide. For template snippets
with examples, see Using Parameter Override Functions with CodePipeline Pipelines in the CloudFormation User
Guide.
The values can be represented in either JSON or YAML format. For example, the JSON configuration item format is as follows:
JSON:
"Configuration" : { Key : Value },
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 method that creates an instance of theOutputArtifact.Builder avoiding the need to create
one manually via OutputArtifact.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #outputArtifacts(List.
outputArtifacts - a consumer that will call methods on
OutputArtifact.Builder#outputArtifacts(java.util.Collection) 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 method that creates an instance of theInputArtifact.Builder avoiding the need to create
one manually via InputArtifact.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #inputArtifacts(List.
inputArtifacts - a consumer that will call methods on
InputArtifact.Builder#inputArtifacts(java.util.Collection) ActionDeclaration.Builder roleArn(String roleArn)
The ARN of the IAM service role that performs the declared action. This is assumed through the roleArn for the pipeline.
roleArn - The ARN of the IAM service role that performs the declared action. This is assumed through the roleArn
for the pipeline.ActionDeclaration.Builder region(String region)
The action declaration's Amazon Web Services Region, such as us-east-1.
region - The action declaration's Amazon Web Services Region, such as us-east-1.ActionDeclaration.Builder namespace(String namespace)
The variable namespace associated with the action. All variables produced as output by this action fall under this namespace.
namespace - The variable namespace associated with the action. All variables produced as output by this action
fall under this namespace.Copyright © 2023. All rights reserved.