@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) |
ActionDeclaration |
clearConfigurationEntries()
Removes all the entries added into Configuration.
|
ActionDeclaration |
clone() |
boolean |
equals(Object obj) |
ActionTypeId |
getActionTypeId()
The configuration information for the action type.
|
Map<String,String> |
getConfiguration()
The action declaration'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.
|
List<OutputArtifact> |
getOutputArtifacts()
The name or ID of the result of the action declaration, such as a test or build artifact.
|
String |
getRoleArn()
The ARN of the IAM service role that will perform the declared action.
|
Integer |
getRunOrder()
The order in which actions are run.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 |
setName(String name)
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ActionDeclaration |
withActionTypeId(ActionTypeId actionTypeId)
The configuration information for the action type.
|
ActionDeclaration |
withConfiguration(Map<String,String> configuration)
The action declaration'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 |
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 |
withRoleArn(String roleArn)
The ARN of the IAM service role that will perform the declared action.
|
ActionDeclaration |
withRunOrder(Integer runOrder)
The order in which actions are run.
|
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)
The configuration information for the action type.
actionTypeId
- The configuration information for the action type.public ActionTypeId getActionTypeId()
The configuration information for the action type.
public ActionDeclaration withActionTypeId(ActionTypeId actionTypeId)
The configuration information for the action type.
actionTypeId
- The configuration information for the action type.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 declaration's configuration.
public void setConfiguration(Map<String,String> configuration)
The action declaration's configuration.
configuration
- The action declaration's configuration.public ActionDeclaration withConfiguration(Map<String,String> configuration)
The action declaration's configuration.
configuration
- The action declaration's configuration.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 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.public String getRoleArn()
The ARN of the IAM service role that will perform 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 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.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.