@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ActionDeclaration extends Object implements Serializable, Cloneable, StructuredPojo
Represents information about an action declaration.
Constructor and Description |
---|
ActionDeclaration() |
Modifier and Type | Method and Description |
---|---|
ActionDeclaration |
addConfigurationEntry(String key,
String value)
Add a single Configuration entry
|
ActionDeclaration |
clearConfigurationEntries()
Removes all the entries added into Configuration.
|
ActionDeclaration |
clone() |
boolean |
equals(Object obj) |
ActionTypeId |
getActionTypeId()
Specifies the action type and the provider of the action.
|
Map<String,String> |
getConfiguration()
The action's configuration.
|
List<InputArtifact> |
getInputArtifacts()
The name or ID of the artifact consumed by the action, such as a test or build artifact.
|
String |
getName()
The action declaration's name.
|
String |
getNamespace()
The variable namespace associated with the action.
|
List<OutputArtifact> |
getOutputArtifacts()
The name or ID of the result of the action declaration, such as a test or build artifact.
|
String |
getRegion()
The action declaration's Amazon Web Services Region, such as us-east-1.
|
String |
getRoleArn()
The ARN of the IAM service role that performs the declared action.
|
Integer |
getRunOrder()
The order in which actions are run.
|
Integer |
getTimeoutInMinutes()
A timeout duration in minutes that can be applied against the ActionType’s default timeout value specified in Quotas for CodePipeline .
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActionTypeId(ActionTypeId actionTypeId)
Specifies the action type and the provider of the action.
|
void |
setConfiguration(Map<String,String> configuration)
The action'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 |
setName(String name)
The action declaration's name.
|
void |
setNamespace(String namespace)
The variable namespace associated with the action.
|
void |
setOutputArtifacts(Collection<OutputArtifact> outputArtifacts)
The name or ID of the result of the action declaration, such as a test or build artifact.
|
void |
setRegion(String region)
The action declaration's Amazon Web Services Region, such as us-east-1.
|
void |
setRoleArn(String roleArn)
The ARN of the IAM service role that performs the declared action.
|
void |
setRunOrder(Integer runOrder)
The order in which actions are run.
|
void |
setTimeoutInMinutes(Integer timeoutInMinutes)
A timeout duration in minutes that can be applied against the ActionType’s default timeout value specified in Quotas for CodePipeline .
|
String |
toString()
Returns a string representation of this object.
|
ActionDeclaration |
withActionTypeId(ActionTypeId actionTypeId)
Specifies the action type and the provider of the action.
|
ActionDeclaration |
withConfiguration(Map<String,String> configuration)
The action's configuration.
|
ActionDeclaration |
withInputArtifacts(Collection<InputArtifact> inputArtifacts)
The name or ID of the artifact consumed by the action, such as a test or build artifact.
|
ActionDeclaration |
withInputArtifacts(InputArtifact... inputArtifacts)
The name or ID of the artifact consumed by the action, such as a test or build artifact.
|
ActionDeclaration |
withName(String name)
The action declaration's name.
|
ActionDeclaration |
withNamespace(String namespace)
The variable namespace associated with the action.
|
ActionDeclaration |
withOutputArtifacts(Collection<OutputArtifact> outputArtifacts)
The name or ID of the result of the action declaration, such as a test or build artifact.
|
ActionDeclaration |
withOutputArtifacts(OutputArtifact... outputArtifacts)
The name or ID of the result of the action declaration, such as a test or build artifact.
|
ActionDeclaration |
withRegion(String region)
The action declaration's Amazon Web Services Region, such as us-east-1.
|
ActionDeclaration |
withRoleArn(String roleArn)
The ARN of the IAM service role that performs the declared action.
|
ActionDeclaration |
withRunOrder(Integer runOrder)
The order in which actions are run.
|
ActionDeclaration |
withTimeoutInMinutes(Integer timeoutInMinutes)
A timeout duration in minutes that can be applied against the ActionType’s default timeout value specified in Quotas for CodePipeline .
|
public void setName(String name)
The action declaration's name.
name
- The action declaration's name.public String getName()
The action declaration's name.
public ActionDeclaration withName(String name)
The action declaration's name.
name
- The action declaration's name.public void setActionTypeId(ActionTypeId actionTypeId)
Specifies the action type and the provider of the action.
actionTypeId
- Specifies the action type and the provider of the action.public ActionTypeId getActionTypeId()
Specifies the action type and the provider of the action.
public ActionDeclaration withActionTypeId(ActionTypeId actionTypeId)
Specifies the action type and the provider of the action.
actionTypeId
- Specifies the action type and the provider of the action.public void setRunOrder(Integer runOrder)
The order in which actions are run.
runOrder
- The order in which actions are run.public Integer getRunOrder()
The order in which actions are run.
public ActionDeclaration withRunOrder(Integer runOrder)
The order in which actions are run.
runOrder
- The order in which actions are run.public Map<String,String> getConfiguration()
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 },
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 },
public void setConfiguration(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 },
public ActionDeclaration withConfiguration(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 },
public ActionDeclaration addConfigurationEntry(String key, String value)
public ActionDeclaration clearConfigurationEntries()
public List<OutputArtifact> getOutputArtifacts()
The name or ID of the result of the action declaration, such as a test or build artifact.
public void setOutputArtifacts(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.public ActionDeclaration withOutputArtifacts(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.public ActionDeclaration withOutputArtifacts(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.public List<InputArtifact> getInputArtifacts()
The name or ID of the artifact consumed by the action, such as a test or build artifact.
public void setInputArtifacts(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.public ActionDeclaration withInputArtifacts(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.public ActionDeclaration withInputArtifacts(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.public void setRoleArn(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.public String getRoleArn()
The ARN of the IAM service role that performs the declared action. This is assumed through the roleArn for the pipeline.
public ActionDeclaration withRoleArn(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.public void setRegion(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.public String getRegion()
The action declaration's Amazon Web Services Region, such as us-east-1.
public ActionDeclaration withRegion(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.public void setNamespace(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.public String getNamespace()
The variable namespace associated with the action. All variables produced as output by this action fall under this namespace.
public ActionDeclaration withNamespace(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.public void setTimeoutInMinutes(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.
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.public Integer getTimeoutInMinutes()
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.
public ActionDeclaration withTimeoutInMinutes(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.
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.public String toString()
toString
in class Object
Object.toString()
public ActionDeclaration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.