@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Channel extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
Channel() |
Modifier and Type | Method and Description |
---|---|
Channel |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
Channel |
clearTagsEntries()
Removes all the entries added into Tags.
|
Channel |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The unique arn of the channel.
|
CdiInputSpecification |
getCdiInputSpecification()
Specification of CDI inputs for this channel
|
String |
getChannelClass()
The class for this channel.
|
List<OutputDestination> |
getDestinations()
A list of destinations of the channel.
|
List<ChannelEgressEndpoint> |
getEgressEndpoints()
The endpoints where outgoing connections initiate from
|
EncoderSettings |
getEncoderSettings() |
String |
getId()
The unique id of the channel.
|
List<InputAttachment> |
getInputAttachments()
List of input attachments for channel.
|
InputSpecification |
getInputSpecification()
Specification of network and file inputs for this channel
|
String |
getLogLevel()
The log level being written to CloudWatch Logs.
|
MaintenanceStatus |
getMaintenance()
Maintenance settings for this channel.
|
String |
getName()
The name of the channel.
|
List<PipelineDetail> |
getPipelineDetails()
Runtime details for the pipelines of a running channel.
|
Integer |
getPipelinesRunningCount()
The number of currently healthy pipelines.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of the role assumed when running the Channel.
|
String |
getState() |
Map<String,String> |
getTags()
A collection of key-value pairs.
|
VpcOutputSettingsDescription |
getVpc()
Settings for VPC output
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The unique arn of the channel.
|
void |
setCdiInputSpecification(CdiInputSpecification cdiInputSpecification)
Specification of CDI inputs for this channel
|
void |
setChannelClass(String channelClass)
The class for this channel.
|
void |
setDestinations(Collection<OutputDestination> destinations)
A list of destinations of the channel.
|
void |
setEgressEndpoints(Collection<ChannelEgressEndpoint> egressEndpoints)
The endpoints where outgoing connections initiate from
|
void |
setEncoderSettings(EncoderSettings encoderSettings) |
void |
setId(String id)
The unique id of the channel.
|
void |
setInputAttachments(Collection<InputAttachment> inputAttachments)
List of input attachments for channel.
|
void |
setInputSpecification(InputSpecification inputSpecification)
Specification of network and file inputs for this channel
|
void |
setLogLevel(String logLevel)
The log level being written to CloudWatch Logs.
|
void |
setMaintenance(MaintenanceStatus maintenance)
Maintenance settings for this channel.
|
void |
setName(String name)
The name of the channel.
|
void |
setPipelineDetails(Collection<PipelineDetail> pipelineDetails)
Runtime details for the pipelines of a running channel.
|
void |
setPipelinesRunningCount(Integer pipelinesRunningCount)
The number of currently healthy pipelines.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the role assumed when running the Channel.
|
void |
setState(String state) |
void |
setTags(Map<String,String> tags)
A collection of key-value pairs.
|
void |
setVpc(VpcOutputSettingsDescription vpc)
Settings for VPC output
|
String |
toString()
Returns a string representation of this object.
|
Channel |
withArn(String arn)
The unique arn of the channel.
|
Channel |
withCdiInputSpecification(CdiInputSpecification cdiInputSpecification)
Specification of CDI inputs for this channel
|
Channel |
withChannelClass(ChannelClass channelClass)
The class for this channel.
|
Channel |
withChannelClass(String channelClass)
The class for this channel.
|
Channel |
withDestinations(Collection<OutputDestination> destinations)
A list of destinations of the channel.
|
Channel |
withDestinations(OutputDestination... destinations)
A list of destinations of the channel.
|
Channel |
withEgressEndpoints(ChannelEgressEndpoint... egressEndpoints)
The endpoints where outgoing connections initiate from
|
Channel |
withEgressEndpoints(Collection<ChannelEgressEndpoint> egressEndpoints)
The endpoints where outgoing connections initiate from
|
Channel |
withEncoderSettings(EncoderSettings encoderSettings) |
Channel |
withId(String id)
The unique id of the channel.
|
Channel |
withInputAttachments(Collection<InputAttachment> inputAttachments)
List of input attachments for channel.
|
Channel |
withInputAttachments(InputAttachment... inputAttachments)
List of input attachments for channel.
|
Channel |
withInputSpecification(InputSpecification inputSpecification)
Specification of network and file inputs for this channel
|
Channel |
withLogLevel(LogLevel logLevel)
The log level being written to CloudWatch Logs.
|
Channel |
withLogLevel(String logLevel)
The log level being written to CloudWatch Logs.
|
Channel |
withMaintenance(MaintenanceStatus maintenance)
Maintenance settings for this channel.
|
Channel |
withName(String name)
The name of the channel.
|
Channel |
withPipelineDetails(Collection<PipelineDetail> pipelineDetails)
Runtime details for the pipelines of a running channel.
|
Channel |
withPipelineDetails(PipelineDetail... pipelineDetails)
Runtime details for the pipelines of a running channel.
|
Channel |
withPipelinesRunningCount(Integer pipelinesRunningCount)
The number of currently healthy pipelines.
|
Channel |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the role assumed when running the Channel.
|
Channel |
withState(ChannelState state) |
Channel |
withState(String state) |
Channel |
withTags(Map<String,String> tags)
A collection of key-value pairs.
|
Channel |
withVpc(VpcOutputSettingsDescription vpc)
Settings for VPC output
|
public void setArn(String arn)
arn
- The unique arn of the channel.public String getArn()
public Channel withArn(String arn)
arn
- The unique arn of the channel.public void setCdiInputSpecification(CdiInputSpecification cdiInputSpecification)
cdiInputSpecification
- Specification of CDI inputs for this channelpublic CdiInputSpecification getCdiInputSpecification()
public Channel withCdiInputSpecification(CdiInputSpecification cdiInputSpecification)
cdiInputSpecification
- Specification of CDI inputs for this channelpublic void setChannelClass(String channelClass)
channelClass
- The class for this channel. STANDARD for a channel with two pipelines or SINGLE_PIPELINE for a channel
with one pipeline.ChannelClass
public String getChannelClass()
ChannelClass
public Channel withChannelClass(String channelClass)
channelClass
- The class for this channel. STANDARD for a channel with two pipelines or SINGLE_PIPELINE for a channel
with one pipeline.ChannelClass
public Channel withChannelClass(ChannelClass channelClass)
channelClass
- The class for this channel. STANDARD for a channel with two pipelines or SINGLE_PIPELINE for a channel
with one pipeline.ChannelClass
public List<OutputDestination> getDestinations()
public void setDestinations(Collection<OutputDestination> destinations)
destinations
- A list of destinations of the channel. For UDP outputs, there is one destination per output. For other
types (HLS, for example), there is one destination per packager.public Channel withDestinations(OutputDestination... destinations)
NOTE: This method appends the values to the existing list (if any). Use
setDestinations(java.util.Collection)
or withDestinations(java.util.Collection)
if you want to
override the existing values.
destinations
- A list of destinations of the channel. For UDP outputs, there is one destination per output. For other
types (HLS, for example), there is one destination per packager.public Channel withDestinations(Collection<OutputDestination> destinations)
destinations
- A list of destinations of the channel. For UDP outputs, there is one destination per output. For other
types (HLS, for example), there is one destination per packager.public List<ChannelEgressEndpoint> getEgressEndpoints()
public void setEgressEndpoints(Collection<ChannelEgressEndpoint> egressEndpoints)
egressEndpoints
- The endpoints where outgoing connections initiate frompublic Channel withEgressEndpoints(ChannelEgressEndpoint... egressEndpoints)
NOTE: This method appends the values to the existing list (if any). Use
setEgressEndpoints(java.util.Collection)
or withEgressEndpoints(java.util.Collection)
if you
want to override the existing values.
egressEndpoints
- The endpoints where outgoing connections initiate frompublic Channel withEgressEndpoints(Collection<ChannelEgressEndpoint> egressEndpoints)
egressEndpoints
- The endpoints where outgoing connections initiate frompublic void setEncoderSettings(EncoderSettings encoderSettings)
encoderSettings
- public EncoderSettings getEncoderSettings()
public Channel withEncoderSettings(EncoderSettings encoderSettings)
encoderSettings
- public void setId(String id)
id
- The unique id of the channel.public String getId()
public Channel withId(String id)
id
- The unique id of the channel.public List<InputAttachment> getInputAttachments()
public void setInputAttachments(Collection<InputAttachment> inputAttachments)
inputAttachments
- List of input attachments for channel.public Channel withInputAttachments(InputAttachment... inputAttachments)
NOTE: This method appends the values to the existing list (if any). Use
setInputAttachments(java.util.Collection)
or withInputAttachments(java.util.Collection)
if you
want to override the existing values.
inputAttachments
- List of input attachments for channel.public Channel withInputAttachments(Collection<InputAttachment> inputAttachments)
inputAttachments
- List of input attachments for channel.public void setInputSpecification(InputSpecification inputSpecification)
inputSpecification
- Specification of network and file inputs for this channelpublic InputSpecification getInputSpecification()
public Channel withInputSpecification(InputSpecification inputSpecification)
inputSpecification
- Specification of network and file inputs for this channelpublic void setLogLevel(String logLevel)
logLevel
- The log level being written to CloudWatch Logs.LogLevel
public String getLogLevel()
LogLevel
public Channel withLogLevel(String logLevel)
logLevel
- The log level being written to CloudWatch Logs.LogLevel
public Channel withLogLevel(LogLevel logLevel)
logLevel
- The log level being written to CloudWatch Logs.LogLevel
public void setMaintenance(MaintenanceStatus maintenance)
maintenance
- Maintenance settings for this channel.public MaintenanceStatus getMaintenance()
public Channel withMaintenance(MaintenanceStatus maintenance)
maintenance
- Maintenance settings for this channel.public void setName(String name)
name
- The name of the channel. (user-mutable)public String getName()
public Channel withName(String name)
name
- The name of the channel. (user-mutable)public List<PipelineDetail> getPipelineDetails()
public void setPipelineDetails(Collection<PipelineDetail> pipelineDetails)
pipelineDetails
- Runtime details for the pipelines of a running channel.public Channel withPipelineDetails(PipelineDetail... pipelineDetails)
NOTE: This method appends the values to the existing list (if any). Use
setPipelineDetails(java.util.Collection)
or withPipelineDetails(java.util.Collection)
if you
want to override the existing values.
pipelineDetails
- Runtime details for the pipelines of a running channel.public Channel withPipelineDetails(Collection<PipelineDetail> pipelineDetails)
pipelineDetails
- Runtime details for the pipelines of a running channel.public void setPipelinesRunningCount(Integer pipelinesRunningCount)
pipelinesRunningCount
- The number of currently healthy pipelines.public Integer getPipelinesRunningCount()
public Channel withPipelinesRunningCount(Integer pipelinesRunningCount)
pipelinesRunningCount
- The number of currently healthy pipelines.public void setRoleArn(String roleArn)
roleArn
- The Amazon Resource Name (ARN) of the role assumed when running the Channel.public String getRoleArn()
public Channel withRoleArn(String roleArn)
roleArn
- The Amazon Resource Name (ARN) of the role assumed when running the Channel.public void setState(String state)
state
- ChannelState
public String getState()
ChannelState
public Channel withState(String state)
state
- ChannelState
public Channel withState(ChannelState state)
state
- ChannelState
public Map<String,String> getTags()
public void setTags(Map<String,String> tags)
tags
- A collection of key-value pairs.public Channel withTags(Map<String,String> tags)
tags
- A collection of key-value pairs.public Channel clearTagsEntries()
public void setVpc(VpcOutputSettingsDescription vpc)
vpc
- Settings for VPC outputpublic VpcOutputSettingsDescription getVpc()
public Channel withVpc(VpcOutputSettingsDescription vpc)
vpc
- Settings for VPC outputpublic String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.