Class ActionDeclaration
- All Implemented Interfaces:
Serializable
,Cloneable
Represents information about an action declaration.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddConfigurationEntry
(String key, String value) Removes all the entries added into Configuration.clone()
boolean
The configuration information for the action type.The action declaration's configuration.The name or ID of the artifact consumed by the action, such as a test or build artifact.getName()
The action declaration's name.The name or ID of the result of the action declaration, such as a test or build artifact.The ARN of the IAM service role that will perform the declared action.The order in which actions are run.int
hashCode()
void
setActionTypeId
(ActionTypeId actionTypeId) The configuration information for the action type.void
setConfiguration
(Map<String, String> configuration) The action declaration's configuration.void
setInputArtifacts
(Collection<InputArtifact> inputArtifacts) The name or ID of the artifact consumed by the action, such as a test or build artifact.void
The action declaration's name.void
setOutputArtifacts
(Collection<OutputArtifact> outputArtifacts) The name or ID of the result of the action declaration, such as a test or build artifact.void
setRoleArn
(String roleArn) The ARN of the IAM service role that will perform the declared action.void
setRunOrder
(Integer runOrder) The order in which actions are run.toString()
Returns a string representation of this object; useful for testing and debugging.withActionTypeId
(ActionTypeId actionTypeId) The configuration information for the action type.withConfiguration
(Map<String, String> configuration) The action declaration's configuration.withInputArtifacts
(InputArtifact... inputArtifacts) The name or ID of the artifact consumed by the action, such as a test or build artifact.withInputArtifacts
(Collection<InputArtifact> inputArtifacts) The name or ID of the artifact consumed by the action, such as a test or build artifact.The action declaration's name.withOutputArtifacts
(OutputArtifact... outputArtifacts) The name or ID of the result of the action declaration, such as a test or build artifact.withOutputArtifacts
(Collection<OutputArtifact> outputArtifacts) The name or ID of the result of the action declaration, such as a test or build artifact.withRoleArn
(String roleArn) The ARN of the IAM service role that will perform the declared action.withRunOrder
(Integer runOrder) The order in which actions are run.
-
Constructor Details
-
ActionDeclaration
public ActionDeclaration()
-
-
Method Details
-
setName
The action declaration's name.
- Parameters:
name
- The action declaration's name.
-
getName
The action declaration's name.
- Returns:
- The action declaration's name.
-
withName
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.
-
setActionTypeId
The configuration information for the action type.
- Parameters:
actionTypeId
- The configuration information for the action type.
-
getActionTypeId
The configuration information for the action type.
- Returns:
- The configuration information for the action type.
-
withActionTypeId
The configuration information for the action type.
- Parameters:
actionTypeId
- The configuration information for the action type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRunOrder
The order in which actions are run.
- Parameters:
runOrder
- The order in which actions are run.
-
getRunOrder
The order in which actions are run.
- Returns:
- The order in which actions are run.
-
withRunOrder
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.
-
getConfiguration
The action declaration's configuration.
- Returns:
- The action declaration's configuration.
-
setConfiguration
The action declaration's configuration.
- Parameters:
configuration
- The action declaration's configuration.
-
withConfiguration
The action declaration's configuration.
- Parameters:
configuration
- The action declaration's configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addConfigurationEntry
-
clearConfigurationEntries
Removes all the entries added into Configuration. <p> Returns a reference to this object so that method calls can be chained together. -
getOutputArtifacts
The name or ID of the result of the action declaration, such as a test or build artifact.
- Returns:
- The name or ID of the result of the action declaration, such as a test or build artifact.
-
setOutputArtifacts
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.
-
withOutputArtifacts
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)
orwithOutputArtifacts(java.util.Collection)
if you want to override the existing values.- 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.
-
withOutputArtifacts
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.
-
getInputArtifacts
The name or ID of the artifact consumed by the action, such as a test or build artifact.
- Returns:
- The name or ID of the artifact consumed by the action, such as a test or build artifact.
-
setInputArtifacts
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.
-
withInputArtifacts
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)
orwithInputArtifacts(java.util.Collection)
if you want to override the existing values.- 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.
-
withInputArtifacts
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.
-
setRoleArn
The ARN of the IAM service role that will perform the declared action. This is assumed through the roleArn for the pipeline.
- Parameters:
roleArn
- The ARN of the IAM service role that will perform the declared action. This is assumed through the roleArn for the pipeline.
-
getRoleArn
The ARN of the IAM service role that will perform the declared action. This is assumed through the roleArn for the pipeline.
- Returns:
- The ARN of the IAM service role that will perform the declared action. This is assumed through the roleArn for the pipeline.
-
withRoleArn
The ARN of the IAM service role that will perform the declared action. This is assumed through the roleArn for the pipeline.
- Parameters:
roleArn
- The ARN of the IAM service role that will perform 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.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-