@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateExperimentTemplateActionInputItem extends Object implements Serializable, Cloneable, StructuredPojo
Specifies an action for an experiment template.
Constructor and Description |
---|
UpdateExperimentTemplateActionInputItem() |
Modifier and Type | Method and Description |
---|---|
UpdateExperimentTemplateActionInputItem |
addParametersEntry(String key,
String value)
Add a single Parameters entry
|
UpdateExperimentTemplateActionInputItem |
addTargetsEntry(String key,
String value)
Add a single Targets entry
|
UpdateExperimentTemplateActionInputItem |
clearParametersEntries()
Removes all the entries added into Parameters.
|
UpdateExperimentTemplateActionInputItem |
clearTargetsEntries()
Removes all the entries added into Targets.
|
UpdateExperimentTemplateActionInputItem |
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, if applicable.
|
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, if applicable.
|
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.
|
UpdateExperimentTemplateActionInputItem |
withActionId(String actionId)
The ID of the action.
|
UpdateExperimentTemplateActionInputItem |
withDescription(String description)
A description for the action.
|
UpdateExperimentTemplateActionInputItem |
withParameters(Map<String,String> parameters)
The parameters for the action, if applicable.
|
UpdateExperimentTemplateActionInputItem |
withStartAfter(Collection<String> startAfter)
The name of the action that must be completed before the current action starts.
|
UpdateExperimentTemplateActionInputItem |
withStartAfter(String... startAfter)
The name of the action that must be completed before the current action starts.
|
UpdateExperimentTemplateActionInputItem |
withTargets(Map<String,String> targets)
The targets for the action.
|
public UpdateExperimentTemplateActionInputItem()
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 UpdateExperimentTemplateActionInputItem 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 UpdateExperimentTemplateActionInputItem withDescription(String description)
A description for the action.
description
- A description for the action.public Map<String,String> getParameters()
The parameters for the action, if applicable.
public void setParameters(Map<String,String> parameters)
The parameters for the action, if applicable.
parameters
- The parameters for the action, if applicable.public UpdateExperimentTemplateActionInputItem withParameters(Map<String,String> parameters)
The parameters for the action, if applicable.
parameters
- The parameters for the action, if applicable.public UpdateExperimentTemplateActionInputItem addParametersEntry(String key, String value)
public UpdateExperimentTemplateActionInputItem 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 UpdateExperimentTemplateActionInputItem withTargets(Map<String,String> targets)
The targets for the action.
targets
- The targets for the action.public UpdateExperimentTemplateActionInputItem addTargetsEntry(String key, String value)
public UpdateExperimentTemplateActionInputItem clearTargetsEntries()
public List<String> getStartAfter()
The name of the action that must be completed before the current action starts. Omit this parameter to run the action at the start of the experiment.
public void setStartAfter(Collection<String> startAfter)
The name of the action that must be completed before the current action starts. Omit this parameter to run the action at the start of the experiment.
startAfter
- The name of the action that must be completed before the current action starts. Omit this parameter to run
the action at the start of the experiment.public UpdateExperimentTemplateActionInputItem withStartAfter(String... startAfter)
The name of the action that must be completed before the current action starts. Omit this parameter to run the action at the start of the experiment.
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. Omit this parameter to run
the action at the start of the experiment.public UpdateExperimentTemplateActionInputItem withStartAfter(Collection<String> startAfter)
The name of the action that must be completed before the current action starts. Omit this parameter to run the action at the start of the experiment.
startAfter
- The name of the action that must be completed before the current action starts. Omit this parameter to run
the action at the start of the experiment.public String toString()
toString
in class Object
Object.toString()
public UpdateExperimentTemplateActionInputItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Privacy | Site terms | Cookie preferences | © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.