@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Action extends Object implements Serializable, Cloneable, StructuredPojo
Describes an action. For more information, see FIS actions in the Fault Injection Simulator User Guide.
Constructor and Description |
---|
Action() |
Modifier and Type | Method and Description |
---|---|
Action |
addParametersEntry(String key,
ActionParameter value)
Add a single Parameters entry
|
Action |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
Action |
addTargetsEntry(String key,
ActionTarget value)
Add a single Targets entry
|
Action |
clearParametersEntries()
Removes all the entries added into Parameters.
|
Action |
clearTagsEntries()
Removes all the entries added into Tags.
|
Action |
clearTargetsEntries()
Removes all the entries added into Targets.
|
Action |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
The description for the action.
|
String |
getId()
The ID of the action.
|
Map<String,ActionParameter> |
getParameters()
The action parameters, if applicable.
|
Map<String,String> |
getTags()
The tags for the action.
|
Map<String,ActionTarget> |
getTargets()
The supported targets for the action.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDescription(String description)
The description for the action.
|
void |
setId(String id)
The ID of the action.
|
void |
setParameters(Map<String,ActionParameter> parameters)
The action parameters, if applicable.
|
void |
setTags(Map<String,String> tags)
The tags for the action.
|
void |
setTargets(Map<String,ActionTarget> targets)
The supported targets for the action.
|
String |
toString()
Returns a string representation of this object.
|
Action |
withDescription(String description)
The description for the action.
|
Action |
withId(String id)
The ID of the action.
|
Action |
withParameters(Map<String,ActionParameter> parameters)
The action parameters, if applicable.
|
Action |
withTags(Map<String,String> tags)
The tags for the action.
|
Action |
withTargets(Map<String,ActionTarget> targets)
The supported targets for the action.
|
public void setId(String id)
The ID of the action.
id
- The ID of the action.public String getId()
The ID of the action.
public Action withId(String id)
The ID of the action.
id
- 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 Action withDescription(String description)
The description for the action.
description
- The description for the action.public Map<String,ActionParameter> getParameters()
The action parameters, if applicable.
public void setParameters(Map<String,ActionParameter> parameters)
The action parameters, if applicable.
parameters
- The action parameters, if applicable.public Action withParameters(Map<String,ActionParameter> parameters)
The action parameters, if applicable.
parameters
- The action parameters, if applicable.public Action addParametersEntry(String key, ActionParameter value)
public Action clearParametersEntries()
public Map<String,ActionTarget> getTargets()
The supported targets for the action.
public void setTargets(Map<String,ActionTarget> targets)
The supported targets for the action.
targets
- The supported targets for the action.public Action withTargets(Map<String,ActionTarget> targets)
The supported targets for the action.
targets
- The supported targets for the action.public Action addTargetsEntry(String key, ActionTarget value)
public Action clearTargetsEntries()
public Map<String,String> getTags()
The tags for the action.
public void setTags(Map<String,String> tags)
The tags for the action.
tags
- The tags for the action.public Action withTags(Map<String,String> tags)
The tags for the action.
tags
- The tags for the action.public Action clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.