public static interface CreateChannelRequest.Builder extends MediaLiveRequest.Builder, CopyableBuilder<CreateChannelRequest.Builder,CreateChannelRequest>
Modifier and Type | Method and Description |
---|---|
CreateChannelRequest.Builder |
destinations(Collection<OutputDestination> destinations)
Sets the value of the Destinations property for this object.
|
CreateChannelRequest.Builder |
destinations(Consumer<OutputDestination.Builder>... destinations)
Sets the value of the Destinations property for this object.
|
CreateChannelRequest.Builder |
destinations(OutputDestination... destinations)
Sets the value of the Destinations property for this object.
|
default CreateChannelRequest.Builder |
encoderSettings(Consumer<EncoderSettings.Builder> encoderSettings)
Sets the value of the EncoderSettings property for this object.
|
CreateChannelRequest.Builder |
encoderSettings(EncoderSettings encoderSettings)
Sets the value of the EncoderSettings property for this object.
|
CreateChannelRequest.Builder |
inputAttachments(Collection<InputAttachment> inputAttachments)
List of input attachments for channel.
|
CreateChannelRequest.Builder |
inputAttachments(Consumer<InputAttachment.Builder>... inputAttachments)
List of input attachments for channel.
|
CreateChannelRequest.Builder |
inputAttachments(InputAttachment... inputAttachments)
List of input attachments for channel.
|
CreateChannelRequest.Builder |
name(String name)
Name of channel.
|
CreateChannelRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateChannelRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateChannelRequest.Builder |
requestId(String requestId)
Unique request ID to be specified.
|
CreateChannelRequest.Builder |
reserved(String reserved)
Reserved for future use.
|
CreateChannelRequest.Builder |
roleArn(String roleArn)
An optional Amazon Resource Name (ARN) of the role to assume when running the Channel.
|
build
overrideConfiguration
copy
applyMutation, build
CreateChannelRequest.Builder destinations(Collection<OutputDestination> destinations)
destinations
- The new value for the Destinations property for this object.CreateChannelRequest.Builder destinations(OutputDestination... destinations)
destinations
- The new value for the Destinations property for this object.CreateChannelRequest.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)
CreateChannelRequest.Builder encoderSettings(EncoderSettings encoderSettings)
encoderSettings
- The new value for the EncoderSettings property for this object.default CreateChannelRequest.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)
CreateChannelRequest.Builder inputAttachments(Collection<InputAttachment> inputAttachments)
inputAttachments
- List of input attachments for channel.CreateChannelRequest.Builder inputAttachments(InputAttachment... inputAttachments)
inputAttachments
- List of input attachments for channel.CreateChannelRequest.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)
CreateChannelRequest.Builder name(String name)
name
- Name of channel.CreateChannelRequest.Builder requestId(String requestId)
requestId
- Unique request ID to be specified. This is needed to prevent retries from creating multiple resources.CreateChannelRequest.Builder reserved(String reserved)
reserved
- Reserved for future use.CreateChannelRequest.Builder roleArn(String roleArn)
roleArn
- An optional Amazon Resource Name (ARN) of the role to assume when running the Channel.CreateChannelRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateChannelRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.