public static interface StartChannelResponse.Builder extends MediaLiveResponse.Builder, CopyableBuilder<StartChannelResponse.Builder,StartChannelResponse>
Modifier and Type | Method and Description |
---|---|
StartChannelResponse.Builder |
arn(String arn)
The unique arn of the channel.
|
StartChannelResponse.Builder |
destinations(Collection<OutputDestination> destinations)
A list of destinations of the channel.
|
StartChannelResponse.Builder |
destinations(OutputDestination... destinations)
A list of destinations of the channel.
|
StartChannelResponse.Builder |
egressEndpoints(ChannelEgressEndpoint... egressEndpoints)
The endpoints where outgoing connections initiate from
|
StartChannelResponse.Builder |
egressEndpoints(Collection<ChannelEgressEndpoint> egressEndpoints)
The endpoints where outgoing connections initiate from
|
default StartChannelResponse.Builder |
encoderSettings(Consumer<EncoderSettings.Builder> encoderSettings)
Sets the value of the EncoderSettings property for this object.
|
StartChannelResponse.Builder |
encoderSettings(EncoderSettings encoderSettings)
Sets the value of the EncoderSettings property for this object.
|
StartChannelResponse.Builder |
id(String id)
The unique id of the channel.
|
StartChannelResponse.Builder |
inputAttachments(Collection<InputAttachment> inputAttachments)
List of input attachments for channel.
|
StartChannelResponse.Builder |
inputAttachments(InputAttachment... inputAttachments)
List of input attachments for channel.
|
StartChannelResponse.Builder |
name(String name)
The name of the channel.
|
StartChannelResponse.Builder |
pipelinesRunningCount(Integer pipelinesRunningCount)
The number of currently healthy pipelines.
|
StartChannelResponse.Builder |
roleArn(String roleArn)
The Amazon Resource Name (ARN) of the role assumed when running the Channel.
|
StartChannelResponse.Builder |
state(ChannelState state)
Sets the value of the State property for this object.
|
StartChannelResponse.Builder |
state(String state)
Sets the value of the State property for this object.
|
build
copy
apply, build
StartChannelResponse.Builder arn(String arn)
arn
- The unique arn of the channel.StartChannelResponse.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.StartChannelResponse.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.StartChannelResponse.Builder egressEndpoints(Collection<ChannelEgressEndpoint> egressEndpoints)
egressEndpoints
- The endpoints where outgoing connections initiate fromStartChannelResponse.Builder egressEndpoints(ChannelEgressEndpoint... egressEndpoints)
egressEndpoints
- The endpoints where outgoing connections initiate fromStartChannelResponse.Builder encoderSettings(EncoderSettings encoderSettings)
encoderSettings
- The new value for the EncoderSettings property for this object.default StartChannelResponse.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.Builder
encoderSettings(EncoderSettings)
StartChannelResponse.Builder id(String id)
id
- The unique id of the channel.StartChannelResponse.Builder inputAttachments(Collection<InputAttachment> inputAttachments)
inputAttachments
- List of input attachments for channel.StartChannelResponse.Builder inputAttachments(InputAttachment... inputAttachments)
inputAttachments
- List of input attachments for channel.StartChannelResponse.Builder name(String name)
name
- The name of the channel. (user-mutable)StartChannelResponse.Builder pipelinesRunningCount(Integer pipelinesRunningCount)
pipelinesRunningCount
- The number of currently healthy pipelines.StartChannelResponse.Builder roleArn(String roleArn)
roleArn
- The Amazon Resource Name (ARN) of the role assumed when running the Channel.StartChannelResponse.Builder state(String state)
state
- The new value for the State property for this object.ChannelState
,
ChannelState
StartChannelResponse.Builder state(ChannelState state)
state
- The new value for the State property for this object.ChannelState
,
ChannelState
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.