@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StreamKey extends Object implements Serializable, Cloneable, StructuredPojo
Object specifying a stream key.
Constructor and Description |
---|
StreamKey() |
Modifier and Type | Method and Description |
---|---|
StreamKey |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
StreamKey |
clearTagsEntries()
Removes all the entries added into Tags.
|
StreamKey |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
Stream-key ARN.
|
String |
getChannelArn()
Channel ARN for the stream.
|
Map<String,String> |
getTags()
Tags attached to the resource.
|
String |
getValue()
Stream-key value.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
Stream-key ARN.
|
void |
setChannelArn(String channelArn)
Channel ARN for the stream.
|
void |
setTags(Map<String,String> tags)
Tags attached to the resource.
|
void |
setValue(String value)
Stream-key value.
|
String |
toString()
Returns a string representation of this object.
|
StreamKey |
withArn(String arn)
Stream-key ARN.
|
StreamKey |
withChannelArn(String channelArn)
Channel ARN for the stream.
|
StreamKey |
withTags(Map<String,String> tags)
Tags attached to the resource.
|
StreamKey |
withValue(String value)
Stream-key value.
|
public void setArn(String arn)
Stream-key ARN.
arn
- Stream-key ARN.public String getArn()
Stream-key ARN.
public StreamKey withArn(String arn)
Stream-key ARN.
arn
- Stream-key ARN.public void setValue(String value)
Stream-key value.
value
- Stream-key value.public String getValue()
Stream-key value.
public StreamKey withValue(String value)
Stream-key value.
value
- Stream-key value.public void setChannelArn(String channelArn)
Channel ARN for the stream.
channelArn
- Channel ARN for the stream.public String getChannelArn()
Channel ARN for the stream.
public StreamKey withChannelArn(String channelArn)
Channel ARN for the stream.
channelArn
- Channel ARN for the stream.public Map<String,String> getTags()
Tags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value)
. See
Tagging Amazon Web Services
Resources for more information, including restrictions that apply to tags and
"Tag naming limits and requirements"; Amazon IVS has no service-specific constraints beyond what is documented
there.
string:string (key:value)
. See Tagging Amazon Web Services
Resources for more information, including restrictions that apply to tags and
"Tag naming limits and requirements"; Amazon IVS has no service-specific constraints beyond what is
documented there.public void setTags(Map<String,String> tags)
Tags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value)
. See
Tagging Amazon Web Services
Resources for more information, including restrictions that apply to tags and
"Tag naming limits and requirements"; Amazon IVS has no service-specific constraints beyond what is documented
there.
tags
- Tags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value)
. See Tagging Amazon Web Services
Resources for more information, including restrictions that apply to tags and
"Tag naming limits and requirements"; Amazon IVS has no service-specific constraints beyond what is
documented there.public StreamKey withTags(Map<String,String> tags)
Tags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value)
. See
Tagging Amazon Web Services
Resources for more information, including restrictions that apply to tags and
"Tag naming limits and requirements"; Amazon IVS has no service-specific constraints beyond what is documented
there.
tags
- Tags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value)
. See Tagging Amazon Web Services
Resources for more information, including restrictions that apply to tags and
"Tag naming limits and requirements"; Amazon IVS has no service-specific constraints beyond what is
documented there.public StreamKey clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.