@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListSubChannelsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListSubChannelsResult() |
Modifier and Type | Method and Description |
---|---|
ListSubChannelsResult |
clone() |
boolean |
equals(Object obj) |
String |
getChannelArn()
The ARN of elastic channel.
|
String |
getNextToken()
The token passed by previous API calls until all requested sub-channels are returned.
|
List<SubChannelSummary> |
getSubChannels()
The information about each sub-channel.
|
int |
hashCode() |
void |
setChannelArn(String channelArn)
The ARN of elastic channel.
|
void |
setNextToken(String nextToken)
The token passed by previous API calls until all requested sub-channels are returned.
|
void |
setSubChannels(Collection<SubChannelSummary> subChannels)
The information about each sub-channel.
|
String |
toString()
Returns a string representation of this object.
|
ListSubChannelsResult |
withChannelArn(String channelArn)
The ARN of elastic channel.
|
ListSubChannelsResult |
withNextToken(String nextToken)
The token passed by previous API calls until all requested sub-channels are returned.
|
ListSubChannelsResult |
withSubChannels(Collection<SubChannelSummary> subChannels)
The information about each sub-channel.
|
ListSubChannelsResult |
withSubChannels(SubChannelSummary... subChannels)
The information about each sub-channel.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setChannelArn(String channelArn)
The ARN of elastic channel.
channelArn
- The ARN of elastic channel.public String getChannelArn()
The ARN of elastic channel.
public ListSubChannelsResult withChannelArn(String channelArn)
The ARN of elastic channel.
channelArn
- The ARN of elastic channel.public List<SubChannelSummary> getSubChannels()
The information about each sub-channel.
public void setSubChannels(Collection<SubChannelSummary> subChannels)
The information about each sub-channel.
subChannels
- The information about each sub-channel.public ListSubChannelsResult withSubChannels(SubChannelSummary... subChannels)
The information about each sub-channel.
NOTE: This method appends the values to the existing list (if any). Use
setSubChannels(java.util.Collection)
or withSubChannels(java.util.Collection)
if you want to
override the existing values.
subChannels
- The information about each sub-channel.public ListSubChannelsResult withSubChannels(Collection<SubChannelSummary> subChannels)
The information about each sub-channel.
subChannels
- The information about each sub-channel.public void setNextToken(String nextToken)
The token passed by previous API calls until all requested sub-channels are returned.
nextToken
- The token passed by previous API calls until all requested sub-channels are returned.public String getNextToken()
The token passed by previous API calls until all requested sub-channels are returned.
public ListSubChannelsResult withNextToken(String nextToken)
The token passed by previous API calls until all requested sub-channels are returned.
nextToken
- The token passed by previous API calls until all requested sub-channels are returned.public String toString()
toString
in class Object
Object.toString()
public ListSubChannelsResult clone()