@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeChannelResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeChannelResult() |
Modifier and Type | Method and Description |
---|---|
DescribeChannelResult |
clone() |
boolean |
equals(Object obj) |
Channel |
getChannel()
An object that contains information about the channel.
|
ChannelStatistics |
getStatistics()
Statistics about the channel.
|
int |
hashCode() |
void |
setChannel(Channel channel)
An object that contains information about the channel.
|
void |
setStatistics(ChannelStatistics statistics)
Statistics about the channel.
|
String |
toString()
Returns a string representation of this object.
|
DescribeChannelResult |
withChannel(Channel channel)
An object that contains information about the channel.
|
DescribeChannelResult |
withStatistics(ChannelStatistics statistics)
Statistics about the channel.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setChannel(Channel channel)
An object that contains information about the channel.
channel
- An object that contains information about the channel.public Channel getChannel()
An object that contains information about the channel.
public DescribeChannelResult withChannel(Channel channel)
An object that contains information about the channel.
channel
- An object that contains information about the channel.public void setStatistics(ChannelStatistics statistics)
Statistics about the channel. Included if the includeStatistics
parameter is set to
true
in the request.
statistics
- Statistics about the channel. Included if the includeStatistics
parameter is set to
true
in the request.public ChannelStatistics getStatistics()
Statistics about the channel. Included if the includeStatistics
parameter is set to
true
in the request.
includeStatistics
parameter is set to
true
in the request.public DescribeChannelResult withStatistics(ChannelStatistics statistics)
Statistics about the channel. Included if the includeStatistics
parameter is set to
true
in the request.
statistics
- Statistics about the channel. Included if the includeStatistics
parameter is set to
true
in the request.public String toString()
toString
in class Object
Object.toString()
public DescribeChannelResult clone()