@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ActionSummary extends Object implements Serializable, Cloneable, StructuredPojo
Provides a summary of an action.
Constructor and Description |
---|
ActionSummary() |
Modifier and Type | Method and Description |
---|---|
ActionSummary |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
ActionSummary |
addTargetsEntry(String key,
ActionTarget value)
Add a single Targets entry
|
ActionSummary |
clearTagsEntries()
Removes all the entries added into Tags.
|
ActionSummary |
clearTargetsEntries()
Removes all the entries added into Targets.
|
ActionSummary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the action.
|
String |
getDescription()
The description for the action.
|
String |
getId()
The ID of the action.
|
Map<String,String> |
getTags()
The tags for the action.
|
Map<String,ActionTarget> |
getTargets()
The targets for the action.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the action.
|
void |
setDescription(String description)
The description for the action.
|
void |
setId(String id)
The ID of the action.
|
void |
setTags(Map<String,String> tags)
The tags for the action.
|
void |
setTargets(Map<String,ActionTarget> targets)
The targets for the action.
|
String |
toString()
Returns a string representation of this object.
|
ActionSummary |
withArn(String arn)
The Amazon Resource Name (ARN) of the action.
|
ActionSummary |
withDescription(String description)
The description for the action.
|
ActionSummary |
withId(String id)
The ID of the action.
|
ActionSummary |
withTags(Map<String,String> tags)
The tags for the action.
|
ActionSummary |
withTargets(Map<String,ActionTarget> targets)
The 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 ActionSummary withId(String id)
The ID of the action.
id
- The ID of the action.public void setArn(String arn)
The Amazon Resource Name (ARN) of the action.
arn
- The Amazon Resource Name (ARN) of the action.public String getArn()
The Amazon Resource Name (ARN) of the action.
public ActionSummary withArn(String arn)
The Amazon Resource Name (ARN) of the action.
arn
- The Amazon Resource Name (ARN) 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 ActionSummary withDescription(String description)
The description for the action.
description
- The description for the action.public Map<String,ActionTarget> getTargets()
The targets for the action.
public void setTargets(Map<String,ActionTarget> targets)
The targets for the action.
targets
- The targets for the action.public ActionSummary withTargets(Map<String,ActionTarget> targets)
The targets for the action.
targets
- The targets for the action.public ActionSummary addTargetsEntry(String key, ActionTarget value)
public ActionSummary 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 ActionSummary withTags(Map<String,String> tags)
The tags for the action.
tags
- The tags for the action.public ActionSummary addTagsEntry(String key, String value)
public ActionSummary clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public ActionSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.