@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PlaybackKeyPair extends Object implements Serializable, Cloneable, StructuredPojo
A key pair used to sign and validate a playback authorization token.
Constructor and Description |
---|
PlaybackKeyPair() |
Modifier and Type | Method and Description |
---|---|
PlaybackKeyPair |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
PlaybackKeyPair |
clearTagsEntries()
Removes all the entries added into Tags.
|
PlaybackKeyPair |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
Key-pair ARN.
|
String |
getFingerprint()
Key-pair identifier.
|
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 |
setFingerprint(String fingerprint)
Key-pair identifier.
|
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.
|
PlaybackKeyPair |
withArn(String arn)
Key-pair ARN.
|
PlaybackKeyPair |
withFingerprint(String fingerprint)
Key-pair identifier.
|
PlaybackKeyPair |
withName(String name)
Key-pair name.
|
PlaybackKeyPair |
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 PlaybackKeyPair 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 PlaybackKeyPair withName(String name)
Key-pair name.
name
- Key-pair name.public void setFingerprint(String fingerprint)
Key-pair identifier.
fingerprint
- Key-pair identifier.public String getFingerprint()
Key-pair identifier.
public PlaybackKeyPair withFingerprint(String fingerprint)
Key-pair identifier.
fingerprint
- Key-pair identifier.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 PlaybackKeyPair 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 PlaybackKeyPair addTagsEntry(String key, String value)
public PlaybackKeyPair clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public PlaybackKeyPair clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.