@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PlaybackKeyPairSummary extends Object implements Serializable, Cloneable, StructuredPojo
Summary information about a playback key pair.
| Constructor and Description |
|---|
PlaybackKeyPairSummary() |
| Modifier and Type | Method and Description |
|---|---|
PlaybackKeyPairSummary |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
PlaybackKeyPairSummary |
clearTagsEntries()
Removes all the entries added into Tags.
|
PlaybackKeyPairSummary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
Key-pair ARN.
|
String |
getName()
Key-pair name.
|
Map<String,String> |
getTags()
Array of 1-50 maps, each of the form
string:string (key:value) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setArn(String arn)
Key-pair ARN.
|
void |
setName(String name)
Key-pair name.
|
void |
setTags(Map<String,String> tags)
Array of 1-50 maps, each of the form
string:string (key:value) |
String |
toString()
Returns a string representation of this object.
|
PlaybackKeyPairSummary |
withArn(String arn)
Key-pair ARN.
|
PlaybackKeyPairSummary |
withName(String name)
Key-pair name.
|
PlaybackKeyPairSummary |
withTags(Map<String,String> tags)
Array of 1-50 maps, each of the form
string:string (key:value) |
public void setArn(String arn)
Key-pair ARN.
arn - Key-pair ARN.public String getArn()
Key-pair ARN.
public PlaybackKeyPairSummary withArn(String arn)
Key-pair ARN.
arn - Key-pair ARN.public void setName(String name)
Key-pair name.
name - Key-pair name.public String getName()
Key-pair name.
public PlaybackKeyPairSummary withName(String name)
Key-pair name.
name - Key-pair name.public Map<String,String> getTags()
Array of 1-50 maps, each of the form string:string (key:value)
string:string (key:value)public void setTags(Map<String,String> tags)
Array of 1-50 maps, each of the form string:string (key:value)
tags - Array of 1-50 maps, each of the form string:string (key:value)public PlaybackKeyPairSummary withTags(Map<String,String> tags)
Array of 1-50 maps, each of the form string:string (key:value)
tags - Array of 1-50 maps, each of the form string:string (key:value)public PlaybackKeyPairSummary addTagsEntry(String key, String value)
public PlaybackKeyPairSummary clearTagsEntries()
public String toString()
toString in class ObjectObject.toString()public PlaybackKeyPairSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.