@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StreamKeySummary extends Object implements Serializable, Cloneable, StructuredPojo
Summary information about a stream key.
Constructor and Description |
---|
StreamKeySummary() |
Modifier and Type | Method and Description |
---|---|
StreamKeySummary |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
StreamKeySummary |
clearTagsEntries()
Removes all the entries added into Tags.
|
StreamKeySummary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
Stream-key ARN.
|
String |
getChannelArn()
Channel ARN for the stream.
|
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)
Stream-key ARN.
|
void |
setChannelArn(String channelArn)
Channel ARN for the stream.
|
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.
|
StreamKeySummary |
withArn(String arn)
Stream-key ARN.
|
StreamKeySummary |
withChannelArn(String channelArn)
Channel ARN for the stream.
|
StreamKeySummary |
withTags(Map<String,String> tags)
Array of 1-50 maps, each of the form
string:string (key:value) . |
public void setArn(String arn)
Stream-key ARN.
arn
- Stream-key ARN.public String getArn()
Stream-key ARN.
public StreamKeySummary withArn(String arn)
Stream-key ARN.
arn
- Stream-key ARN.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 StreamKeySummary withChannelArn(String channelArn)
Channel ARN for the stream.
channelArn
- Channel ARN for the stream.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 StreamKeySummary 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 StreamKeySummary addTagsEntry(String key, String value)
public StreamKeySummary clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public StreamKeySummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.