public class ChannelsResponse
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ChannelsResponse() |
Modifier and Type | Method and Description |
---|---|
ChannelsResponse |
addChannelsEntry(java.lang.String key,
ChannelResponse value)
A map of channels, with the ChannelType as the key and the Channel as the
value.
|
ChannelsResponse |
clearChannelsEntries()
Removes all the entries added into Channels.
|
boolean |
equals(java.lang.Object obj) |
java.util.Map<java.lang.String,ChannelResponse> |
getChannels()
A map of channels, with the ChannelType as the key and the Channel as the
value.
|
int |
hashCode() |
void |
setChannels(java.util.Map<java.lang.String,ChannelResponse> channels)
A map of channels, with the ChannelType as the key and the Channel as the
value.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ChannelsResponse |
withChannels(java.util.Map<java.lang.String,ChannelResponse> channels)
A map of channels, with the ChannelType as the key and the Channel as the
value.
|
public java.util.Map<java.lang.String,ChannelResponse> getChannels()
public void setChannels(java.util.Map<java.lang.String,ChannelResponse> channels)
channels
- A map of channels, with the ChannelType as the key and
the Channel as the value.public ChannelsResponse withChannels(java.util.Map<java.lang.String,ChannelResponse> channels)
Returns a reference to this object so that method calls can be chained together.
channels
- A map of channels, with the ChannelType as the key and
the Channel as the value.public ChannelsResponse addChannelsEntry(java.lang.String key, ChannelResponse value)
The method adds a new key-value pair into Channels parameter, and returns a reference to this object so that method calls can be chained together.
key
- The key of the entry to be added into Channels.value
- The corresponding value of the entry to be added into
Channels.public ChannelsResponse clearChannelsEntries()
Returns a reference to this object so that method calls can be chained together.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.