public static interface Channel.Builder extends CopyableBuilder<Channel.Builder,Channel>
| Modifier and Type | Method and Description |
|---|---|
Channel.Builder |
arn(String arn)
The unique arn of the channel.
|
Channel.Builder |
destinations(Collection<OutputDestination> destinations)
A list of destinations of the channel.
|
Channel.Builder |
destinations(Consumer<OutputDestination.Builder>... destinations)
A list of destinations of the channel.
|
Channel.Builder |
destinations(OutputDestination... destinations)
A list of destinations of the channel.
|
Channel.Builder |
egressEndpoints(ChannelEgressEndpoint... egressEndpoints)
The endpoints where outgoing connections initiate from
|
Channel.Builder |
egressEndpoints(Collection<ChannelEgressEndpoint> egressEndpoints)
The endpoints where outgoing connections initiate from
|
Channel.Builder |
egressEndpoints(Consumer<ChannelEgressEndpoint.Builder>... egressEndpoints)
The endpoints where outgoing connections initiate from This is a convenience that creates an instance of the
List avoiding the need to create one manually via . |
default Channel.Builder |
encoderSettings(Consumer<EncoderSettings.Builder> encoderSettings)
Sets the value of the EncoderSettings property for this object.
|
Channel.Builder |
encoderSettings(EncoderSettings encoderSettings)
Sets the value of the EncoderSettings property for this object.
|
Channel.Builder |
id(String id)
The unique id of the channel.
|
Channel.Builder |
inputAttachments(Collection<InputAttachment> inputAttachments)
List of input attachments for channel.
|
Channel.Builder |
inputAttachments(Consumer<InputAttachment.Builder>... inputAttachments)
List of input attachments for channel.
|
Channel.Builder |
inputAttachments(InputAttachment... inputAttachments)
List of input attachments for channel.
|
Channel.Builder |
name(String name)
The name of the channel.
|
Channel.Builder |
pipelinesRunningCount(Integer pipelinesRunningCount)
The number of currently healthy pipelines.
|
Channel.Builder |
roleArn(String roleArn)
The Amazon Resource Name (ARN) of the role assumed when running the Channel.
|
Channel.Builder |
state(ChannelState state)
Sets the value of the State property for this object.
|
Channel.Builder |
state(String state)
Sets the value of the State property for this object.
|
copyapply, buildChannel.Builder arn(String arn)
arn - The unique arn of the channel.Channel.Builder destinations(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.Channel.Builder destinations(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.Channel.Builder destinations(Consumer<OutputDestination.Builder>... destinations)
List.Builder avoiding the
need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately
and its result is passed to #destinations(List) .destinations - a consumer that will call methods on List.Builder #destinations(List) Channel.Builder egressEndpoints(Collection<ChannelEgressEndpoint> egressEndpoints)
egressEndpoints - The endpoints where outgoing connections initiate fromChannel.Builder egressEndpoints(ChannelEgressEndpoint... egressEndpoints)
egressEndpoints - The endpoints where outgoing connections initiate fromChannel.Builder egressEndpoints(Consumer<ChannelEgressEndpoint.Builder>... egressEndpoints)
List.Builder avoiding the need to create one manually via #builder() .
When the Consumer completes, List.Builder#build() is called
immediately and its result is passed to #egressEndpoints(List) .egressEndpoints - a consumer that will call methods on List.Builder #egressEndpoints(List) Channel.Builder encoderSettings(EncoderSettings encoderSettings)
encoderSettings - The new value for the EncoderSettings property for this object.default Channel.Builder encoderSettings(Consumer<EncoderSettings.Builder> encoderSettings)
EncoderSettings.Builder avoiding the need to
create one manually via EncoderSettings.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to encoderSettings(EncoderSettings).encoderSettings - a consumer that will call methods on EncoderSettings.BuilderencoderSettings(EncoderSettings)Channel.Builder id(String id)
id - The unique id of the channel.Channel.Builder inputAttachments(Collection<InputAttachment> inputAttachments)
inputAttachments - List of input attachments for channel.Channel.Builder inputAttachments(InputAttachment... inputAttachments)
inputAttachments - List of input attachments for channel.Channel.Builder inputAttachments(Consumer<InputAttachment.Builder>... inputAttachments)
.Builder avoiding the need to create one manually via #builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #inputAttachments(List) .inputAttachments - a consumer that will call methods on List.Builder #inputAttachments(List) Channel.Builder name(String name)
name - The name of the channel. (user-mutable)Channel.Builder pipelinesRunningCount(Integer pipelinesRunningCount)
pipelinesRunningCount - The number of currently healthy pipelines.Channel.Builder roleArn(String roleArn)
roleArn - The Amazon Resource Name (ARN) of the role assumed when running the Channel.Channel.Builder state(String state)
state - The new value for the State property for this object.ChannelState,
ChannelStateChannel.Builder state(ChannelState state)
state - The new value for the State property for this object.ChannelState,
ChannelStateCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.