Interface ActionDeclaration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ActionDeclaration.Builder,ActionDeclaration>,SdkBuilder<ActionDeclaration.Builder,ActionDeclaration>,SdkPojo
- Enclosing class:
- ActionDeclaration
public static interface ActionDeclaration.Builder extends SdkPojo, CopyableBuilder<ActionDeclaration.Builder,ActionDeclaration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ActionDeclaration.BuilderactionTypeId(Consumer<ActionTypeId.Builder> actionTypeId)Specifies the action type and the provider of the action.ActionDeclaration.BuilderactionTypeId(ActionTypeId actionTypeId)Specifies the action type and the provider of the action.ActionDeclaration.Buildercommands(String... commands)The shell commands to run with your compute action in CodePipeline.ActionDeclaration.Buildercommands(Collection<String> commands)The shell commands to run with your compute action in CodePipeline.ActionDeclaration.Builderconfiguration(Map<String,String> configuration)The action's configuration.ActionDeclaration.BuilderinputArtifacts(Collection<InputArtifact> inputArtifacts)The name or ID of the artifact consumed by the action, such as a test or build artifact.ActionDeclaration.BuilderinputArtifacts(Consumer<InputArtifact.Builder>... inputArtifacts)The name or ID of the artifact consumed by the action, such as a test or build artifact.ActionDeclaration.BuilderinputArtifacts(InputArtifact... inputArtifacts)The name or ID of the artifact consumed by the action, such as a test or build artifact.ActionDeclaration.Buildername(String name)The action declaration's name.ActionDeclaration.Buildernamespace(String namespace)The variable namespace associated with the action.ActionDeclaration.BuilderoutputArtifacts(Collection<OutputArtifact> outputArtifacts)The name or ID of the result of the action declaration, such as a test or build artifact.ActionDeclaration.BuilderoutputArtifacts(Consumer<OutputArtifact.Builder>... outputArtifacts)The name or ID of the result of the action declaration, such as a test or build artifact.ActionDeclaration.BuilderoutputArtifacts(OutputArtifact... outputArtifacts)The name or ID of the result of the action declaration, such as a test or build artifact.ActionDeclaration.BuilderoutputVariables(String... outputVariables)The list of variables that are to be exported from the compute action.ActionDeclaration.BuilderoutputVariables(Collection<String> outputVariables)The list of variables that are to be exported from the compute action.ActionDeclaration.Builderregion(String region)The action declaration's Amazon Web Services Region, such as us-east-1.ActionDeclaration.BuilderroleArn(String roleArn)The ARN of the IAM service role that performs the declared action.ActionDeclaration.BuilderrunOrder(Integer runOrder)The order in which actions are run.ActionDeclaration.BuildertimeoutInMinutes(Integer timeoutInMinutes)A timeout duration in minutes that can be applied against the ActionType’s default timeout value specified in Quotas for CodePipeline .-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
ActionDeclaration.Builder name(String name)
The action declaration's name.
- Parameters:
name- The action declaration's name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionTypeId
ActionDeclaration.Builder actionTypeId(ActionTypeId actionTypeId)
Specifies the action type and the provider of the action.
- Parameters:
actionTypeId- Specifies the action type and the provider of the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionTypeId
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.Builderavoiding the need to create one manually viaActionTypeId.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toactionTypeId(ActionTypeId).- Parameters:
actionTypeId- a consumer that will call methods onActionTypeId.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
actionTypeId(ActionTypeId)
-
runOrder
ActionDeclaration.Builder runOrder(Integer runOrder)
The order in which actions are run.
- Parameters:
runOrder- The order in which actions are run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
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 },- Parameters:
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 },- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commands
ActionDeclaration.Builder commands(Collection<String> commands)
The shell commands to run with your compute action in CodePipeline. All commands are supported except multi-line formats. While CodeBuild logs and permissions are used, you do not need to create any resources in CodeBuild.
Using compute time for this action will incur separate charges in CodeBuild.
- Parameters:
commands- The shell commands to run with your compute action in CodePipeline. All commands are supported except multi-line formats. While CodeBuild logs and permissions are used, you do not need to create any resources in CodeBuild.Using compute time for this action will incur separate charges in CodeBuild.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commands
ActionDeclaration.Builder commands(String... commands)
The shell commands to run with your compute action in CodePipeline. All commands are supported except multi-line formats. While CodeBuild logs and permissions are used, you do not need to create any resources in CodeBuild.
Using compute time for this action will incur separate charges in CodeBuild.
- Parameters:
commands- The shell commands to run with your compute action in CodePipeline. All commands are supported except multi-line formats. While CodeBuild logs and permissions are used, you do not need to create any resources in CodeBuild.Using compute time for this action will incur separate charges in CodeBuild.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputArtifacts
ActionDeclaration.Builder outputArtifacts(Collection<OutputArtifact> outputArtifacts)
The name or ID of the result of the action declaration, such as a test or build artifact.
- Parameters:
outputArtifacts- The name or ID of the result of the action declaration, such as a test or build artifact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputArtifacts
ActionDeclaration.Builder outputArtifacts(OutputArtifact... outputArtifacts)
The name or ID of the result of the action declaration, such as a test or build artifact.
- Parameters:
outputArtifacts- The name or ID of the result of the action declaration, such as a test or build artifact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputArtifacts
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.Builderavoiding the need to create one manually viaOutputArtifact.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#outputArtifacts(List.) - Parameters:
outputArtifacts- a consumer that will call methods onOutputArtifact.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#outputArtifacts(java.util.Collection)
-
inputArtifacts
ActionDeclaration.Builder inputArtifacts(Collection<InputArtifact> inputArtifacts)
The name or ID of the artifact consumed by the action, such as a test or build artifact.
- Parameters:
inputArtifacts- The name or ID of the artifact consumed by the action, such as a test or build artifact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputArtifacts
ActionDeclaration.Builder inputArtifacts(InputArtifact... inputArtifacts)
The name or ID of the artifact consumed by the action, such as a test or build artifact.
- Parameters:
inputArtifacts- The name or ID of the artifact consumed by the action, such as a test or build artifact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputArtifacts
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.Builderavoiding the need to create one manually viaInputArtifact.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#inputArtifacts(List.) - Parameters:
inputArtifacts- a consumer that will call methods onInputArtifact.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#inputArtifacts(java.util.Collection)
-
outputVariables
ActionDeclaration.Builder outputVariables(Collection<String> outputVariables)
The list of variables that are to be exported from the compute action. This is specifically CodeBuild environment variables as used for that action.
- Parameters:
outputVariables- The list of variables that are to be exported from the compute action. This is specifically CodeBuild environment variables as used for that action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputVariables
ActionDeclaration.Builder outputVariables(String... outputVariables)
The list of variables that are to be exported from the compute action. This is specifically CodeBuild environment variables as used for that action.
- Parameters:
outputVariables- The list of variables that are to be exported from the compute action. This is specifically CodeBuild environment variables as used for that action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
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.
- Parameters:
roleArn- The ARN of the IAM service role that performs the declared action. This is assumed through the roleArn for the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
region
ActionDeclaration.Builder region(String region)
The action declaration's Amazon Web Services Region, such as us-east-1.
- Parameters:
region- The action declaration's Amazon Web Services Region, such as us-east-1.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespace
ActionDeclaration.Builder namespace(String namespace)
The variable namespace associated with the action. All variables produced as output by this action fall under this namespace.
- Parameters:
namespace- The variable namespace associated with the action. All variables produced as output by this action fall under this namespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeoutInMinutes
ActionDeclaration.Builder timeoutInMinutes(Integer timeoutInMinutes)
A timeout duration in minutes that can be applied against the ActionType’s default timeout value specified in Quotas for CodePipeline . This attribute is available only to the manual approval ActionType.
- Parameters:
timeoutInMinutes- A timeout duration in minutes that can be applied against the ActionType’s default timeout value specified in Quotas for CodePipeline . This attribute is available only to the manual approval ActionType.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-