@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()
Playback-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)
Playback-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)
Playback-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)
Playback-key-pair name. The value does not need to be unique.
name
- Playback-key-pair name. The value does not need to be unique.public String getName()
Playback-key-pair name. The value does not need to be unique.
public PlaybackKeyPairSummary withName(String name)
Playback-key-pair name. The value does not need to be unique.
name
- Playback-key-pair name. The value does not need to be unique.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 Object
Object.toString()
public PlaybackKeyPairSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.