@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StreamChannelDefinition extends Object implements Serializable, Cloneable, StructuredPojo
Defines a streaming channel.
| Constructor and Description |
|---|
StreamChannelDefinition() |
| Modifier and Type | Method and Description |
|---|---|
StreamChannelDefinition |
clone() |
boolean |
equals(Object obj) |
List<ChannelDefinition> |
getChannelDefinitions()
The definitions of the channels in a streaming channel.
|
Integer |
getNumberOfChannels()
The number of channels in a streaming channel.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setChannelDefinitions(Collection<ChannelDefinition> channelDefinitions)
The definitions of the channels in a streaming channel.
|
void |
setNumberOfChannels(Integer numberOfChannels)
The number of channels in a streaming channel.
|
String |
toString()
Returns a string representation of this object.
|
StreamChannelDefinition |
withChannelDefinitions(ChannelDefinition... channelDefinitions)
The definitions of the channels in a streaming channel.
|
StreamChannelDefinition |
withChannelDefinitions(Collection<ChannelDefinition> channelDefinitions)
The definitions of the channels in a streaming channel.
|
StreamChannelDefinition |
withNumberOfChannels(Integer numberOfChannels)
The number of channels in a streaming channel.
|
public void setNumberOfChannels(Integer numberOfChannels)
The number of channels in a streaming channel.
numberOfChannels - The number of channels in a streaming channel.public Integer getNumberOfChannels()
The number of channels in a streaming channel.
public StreamChannelDefinition withNumberOfChannels(Integer numberOfChannels)
The number of channels in a streaming channel.
numberOfChannels - The number of channels in a streaming channel.public List<ChannelDefinition> getChannelDefinitions()
The definitions of the channels in a streaming channel.
public void setChannelDefinitions(Collection<ChannelDefinition> channelDefinitions)
The definitions of the channels in a streaming channel.
channelDefinitions - The definitions of the channels in a streaming channel.public StreamChannelDefinition withChannelDefinitions(ChannelDefinition... channelDefinitions)
The definitions of the channels in a streaming channel.
NOTE: This method appends the values to the existing list (if any). Use
setChannelDefinitions(java.util.Collection) or withChannelDefinitions(java.util.Collection) if
you want to override the existing values.
channelDefinitions - The definitions of the channels in a streaming channel.public StreamChannelDefinition withChannelDefinitions(Collection<ChannelDefinition> channelDefinitions)
The definitions of the channels in a streaming channel.
channelDefinitions - The definitions of the channels in a streaming channel.public String toString()
toString in class ObjectObject.toString()public StreamChannelDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.