@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExperimentAction extends Object implements Serializable, Cloneable, StructuredPojo
Describes the action for an experiment.
Constructor and Description |
---|
ExperimentAction() |
Modifier and Type | Method and Description |
---|---|
ExperimentAction |
addParametersEntry(String key,
String value)
Add a single Parameters entry
|
ExperimentAction |
addTargetsEntry(String key,
String value)
Add a single Targets entry
|
ExperimentAction |
clearParametersEntries()
Removes all the entries added into Parameters.
|
ExperimentAction |
clearTargetsEntries()
Removes all the entries added into Targets.
|
ExperimentAction |
clone() |
boolean |
equals(Object obj) |
String |
getActionId()
The ID of the action.
|
String |
getDescription()
The 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 this action starts.
|
ExperimentActionState |
getState()
The state of the action.
|
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)
The 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 this action starts.
|
void |
setState(ExperimentActionState state)
The state of the action.
|
void |
setTargets(Map<String,String> targets)
The targets for the action.
|
String |
toString()
Returns a string representation of this object.
|
ExperimentAction |
withActionId(String actionId)
The ID of the action.
|
ExperimentAction |
withDescription(String description)
The description for the action.
|
ExperimentAction |
withParameters(Map<String,String> parameters)
The parameters for the action.
|
ExperimentAction |
withStartAfter(Collection<String> startAfter)
The name of the action that must be completed before this action starts.
|
ExperimentAction |
withStartAfter(String... startAfter)
The name of the action that must be completed before this action starts.
|
ExperimentAction |
withState(ExperimentActionState state)
The state of the action.
|
ExperimentAction |
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 ExperimentAction withActionId(String actionId)
The ID of the action.
actionId
- The ID of the action.public void setDescription(String description)
The description for the action.
description
- The description for the action.public String getDescription()
The description for the action.
public ExperimentAction withDescription(String description)
The description for the action.
description
- The 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 ExperimentAction withParameters(Map<String,String> parameters)
The parameters for the action.
parameters
- The parameters for the action.public ExperimentAction addParametersEntry(String key, String value)
public ExperimentAction 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 ExperimentAction withTargets(Map<String,String> targets)
The targets for the action.
targets
- The targets for the action.public ExperimentAction addTargetsEntry(String key, String value)
public ExperimentAction clearTargetsEntries()
public List<String> getStartAfter()
The name of the action that must be completed before this action starts.
public void setStartAfter(Collection<String> startAfter)
The name of the action that must be completed before this action starts.
startAfter
- The name of the action that must be completed before this action starts.public ExperimentAction withStartAfter(String... startAfter)
The name of the action that must be completed before this 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 this action starts.public ExperimentAction withStartAfter(Collection<String> startAfter)
The name of the action that must be completed before this action starts.
startAfter
- The name of the action that must be completed before this action starts.public void setState(ExperimentActionState state)
The state of the action.
state
- The state of the action.public ExperimentActionState getState()
The state of the action.
public ExperimentAction withState(ExperimentActionState state)
The state of the action.
state
- The state of the action.public String toString()
toString
in class Object
Object.toString()
public ExperimentAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.