@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KeyValuePair extends Object implements Serializable, Cloneable, StructuredPojo
For SCTE35_ENHANCED output, defines a key and corresponding value. MediaTailor generates these pairs
within the EXT-X-ASSETtag.
| Constructor and Description |
|---|
KeyValuePair() |
| Modifier and Type | Method and Description |
|---|---|
KeyValuePair |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
For
SCTE35_ENHANCED output, defines a key. |
String |
getValue()
For
SCTE35_ENHANCED output, defines a value. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setKey(String key)
For
SCTE35_ENHANCED output, defines a key. |
void |
setValue(String value)
For
SCTE35_ENHANCED output, defines a value. |
String |
toString()
Returns a string representation of this object.
|
KeyValuePair |
withKey(String key)
For
SCTE35_ENHANCED output, defines a key. |
KeyValuePair |
withValue(String value)
For
SCTE35_ENHANCED output, defines a value. |
public void setKey(String key)
For SCTE35_ENHANCED output, defines a key. MediaTailor takes this key, and its associated value, and
generates the key/value pair within the EXT-X-ASSETtag. If you specify a key, you must also specify
a corresponding value.
key - For SCTE35_ENHANCED output, defines a key. MediaTailor takes this key, and its associated
value, and generates the key/value pair within the EXT-X-ASSETtag. If you specify a key, you
must also specify a corresponding value.public String getKey()
For SCTE35_ENHANCED output, defines a key. MediaTailor takes this key, and its associated value, and
generates the key/value pair within the EXT-X-ASSETtag. If you specify a key, you must also specify
a corresponding value.
SCTE35_ENHANCED output, defines a key. MediaTailor takes this key, and its associated
value, and generates the key/value pair within the EXT-X-ASSETtag. If you specify a key, you
must also specify a corresponding value.public KeyValuePair withKey(String key)
For SCTE35_ENHANCED output, defines a key. MediaTailor takes this key, and its associated value, and
generates the key/value pair within the EXT-X-ASSETtag. If you specify a key, you must also specify
a corresponding value.
key - For SCTE35_ENHANCED output, defines a key. MediaTailor takes this key, and its associated
value, and generates the key/value pair within the EXT-X-ASSETtag. If you specify a key, you
must also specify a corresponding value.public void setValue(String value)
For SCTE35_ENHANCED output, defines a value. MediaTailor; takes this value, and its associated key,
and generates the key/value pair within the EXT-X-ASSETtag. If you specify a value, you must also
specify a corresponding key.
value - For SCTE35_ENHANCED output, defines a value. MediaTailor; takes this value, and its
associated key, and generates the key/value pair within the EXT-X-ASSETtag. If you specify a
value, you must also specify a corresponding key.public String getValue()
For SCTE35_ENHANCED output, defines a value. MediaTailor; takes this value, and its associated key,
and generates the key/value pair within the EXT-X-ASSETtag. If you specify a value, you must also
specify a corresponding key.
SCTE35_ENHANCED output, defines a value. MediaTailor; takes this value, and its
associated key, and generates the key/value pair within the EXT-X-ASSETtag. If you specify a
value, you must also specify a corresponding key.public KeyValuePair withValue(String value)
For SCTE35_ENHANCED output, defines a value. MediaTailor; takes this value, and its associated key,
and generates the key/value pair within the EXT-X-ASSETtag. If you specify a value, you must also
specify a corresponding key.
value - For SCTE35_ENHANCED output, defines a value. MediaTailor; takes this value, and its
associated key, and generates the key/value pair within the EXT-X-ASSETtag. If you specify a
value, you must also specify a corresponding key.public String toString()
toString in class ObjectObject.toString()public KeyValuePair clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.