@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExperimentTemplateAction extends Object implements Serializable, Cloneable, StructuredPojo
Describes an action for an experiment template.
Constructor and Description |
---|
ExperimentTemplateAction() |
Modifier and Type | Method and Description |
---|---|
ExperimentTemplateAction |
addParametersEntry(String key,
String value)
Add a single Parameters entry
|
ExperimentTemplateAction |
addTargetsEntry(String key,
String value)
Add a single Targets entry
|
ExperimentTemplateAction |
clearParametersEntries()
Removes all the entries added into Parameters.
|
ExperimentTemplateAction |
clearTargetsEntries()
Removes all the entries added into Targets.
|
ExperimentTemplateAction |
clone() |
boolean |
equals(Object obj) |
String |
getActionId()
The ID of the action.
|
String |
getDescription()
A description for the action.
|
Map<String,String> |
getParameters()
The parameters for the action.
|
List<String> |
getStartAfter()
The name of the action that must be completed before the current action starts.
|
Map<String,String> |
getTargets()
The targets for the action.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActionId(String actionId)
The ID of the action.
|
void |
setDescription(String description)
A description for the action.
|
void |
setParameters(Map<String,String> parameters)
The parameters for the action.
|
void |
setStartAfter(Collection<String> startAfter)
The name of the action that must be completed before the current action starts.
|
void |
setTargets(Map<String,String> targets)
The targets for the action.
|
String |
toString()
Returns a string representation of this object.
|
ExperimentTemplateAction |
withActionId(String actionId)
The ID of the action.
|
ExperimentTemplateAction |
withDescription(String description)
A description for the action.
|
ExperimentTemplateAction |
withParameters(Map<String,String> parameters)
The parameters for the action.
|
ExperimentTemplateAction |
withStartAfter(Collection<String> startAfter)
The name of the action that must be completed before the current action starts.
|
ExperimentTemplateAction |
withStartAfter(String... startAfter)
The name of the action that must be completed before the current action starts.
|
ExperimentTemplateAction |
withTargets(Map<String,String> targets)
The targets for the action.
|
public void setActionId(String actionId)
The ID of the action.
actionId
- The ID of the action.public String getActionId()
The ID of the action.
public ExperimentTemplateAction withActionId(String actionId)
The ID of the action.
actionId
- The ID of the action.public void setDescription(String description)
A description for the action.
description
- A description for the action.public String getDescription()
A description for the action.
public ExperimentTemplateAction withDescription(String description)
A description for the action.
description
- A description for the action.public Map<String,String> getParameters()
The parameters for the action.
public void setParameters(Map<String,String> parameters)
The parameters for the action.
parameters
- The parameters for the action.public ExperimentTemplateAction withParameters(Map<String,String> parameters)
The parameters for the action.
parameters
- The parameters for the action.public ExperimentTemplateAction addParametersEntry(String key, String value)
public ExperimentTemplateAction clearParametersEntries()
public Map<String,String> getTargets()
The targets for the action.
public void setTargets(Map<String,String> targets)
The targets for the action.
targets
- The targets for the action.public ExperimentTemplateAction withTargets(Map<String,String> targets)
The targets for the action.
targets
- The targets for the action.public ExperimentTemplateAction addTargetsEntry(String key, String value)
public ExperimentTemplateAction clearTargetsEntries()
public List<String> getStartAfter()
The name of the action that must be completed before the current action starts.
public void setStartAfter(Collection<String> startAfter)
The name of the action that must be completed before the current action starts.
startAfter
- The name of the action that must be completed before the current action starts.public ExperimentTemplateAction withStartAfter(String... startAfter)
The name of the action that must be completed before the current action starts.
NOTE: This method appends the values to the existing list (if any). Use
setStartAfter(java.util.Collection)
or withStartAfter(java.util.Collection)
if you want to
override the existing values.
startAfter
- The name of the action that must be completed before the current action starts.public ExperimentTemplateAction withStartAfter(Collection<String> startAfter)
The name of the action that must be completed before the current action starts.
startAfter
- The name of the action that must be completed before the current action starts.public String toString()
toString
in class Object
Object.toString()
public ExperimentTemplateAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.