Interface CreateChannelRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateChannelRequest.Builder,
,CreateChannelRequest> MediaLiveRequest.Builder
,SdkBuilder<CreateChannelRequest.Builder,
,CreateChannelRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateChannelRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateChannelRequest.Builder
anywhereSettings
(Consumer<AnywhereSettings.Builder> anywhereSettings) The Elemental Anywhere settings for this channel.anywhereSettings
(AnywhereSettings anywhereSettings) The Elemental Anywhere settings for this channel.default CreateChannelRequest.Builder
cdiInputSpecification
(Consumer<CdiInputSpecification.Builder> cdiInputSpecification) Specification of CDI inputs for this channel This is a convenience method that creates an instance of theCdiInputSpecification.Builder
avoiding the need to create one manually viaCdiInputSpecification.builder()
.cdiInputSpecification
(CdiInputSpecification cdiInputSpecification) Specification of CDI inputs for this channelchannelClass
(String channelClass) The class for this channel.channelClass
(ChannelClass channelClass) The class for this channel.default CreateChannelRequest.Builder
channelEngineVersion
(Consumer<ChannelEngineVersionRequest.Builder> channelEngineVersion) The desired engine version for this channel.channelEngineVersion
(ChannelEngineVersionRequest channelEngineVersion) The desired engine version for this channel.destinations
(Collection<OutputDestination> destinations) Sets the value of the Destinations property for this object.destinations
(Consumer<OutputDestination.Builder>... destinations) Sets the value of the Destinations property for this object.destinations
(OutputDestination... destinations) Sets the value of the Destinations property for this object.Sets the value of the DryRun property for this object.default CreateChannelRequest.Builder
encoderSettings
(Consumer<EncoderSettings.Builder> encoderSettings) Sets the value of the EncoderSettings property for this object.encoderSettings
(EncoderSettings encoderSettings) Sets the value of the EncoderSettings property for this object.inputAttachments
(Collection<InputAttachment> inputAttachments) List of input attachments for channel.inputAttachments
(Consumer<InputAttachment.Builder>... inputAttachments) List of input attachments for channel.inputAttachments
(InputAttachment... inputAttachments) List of input attachments for channel.default CreateChannelRequest.Builder
inputSpecification
(Consumer<InputSpecification.Builder> inputSpecification) Specification of network and file inputs for this channel This is a convenience method that creates an instance of theInputSpecification.Builder
avoiding the need to create one manually viaInputSpecification.builder()
.inputSpecification
(InputSpecification inputSpecification) Specification of network and file inputs for this channelThe log level to write to CloudWatch Logs.The log level to write to CloudWatch Logs.default CreateChannelRequest.Builder
maintenance
(Consumer<MaintenanceCreateSettings.Builder> maintenance) Maintenance settings for this channel.maintenance
(MaintenanceCreateSettings maintenance) Maintenance settings for this channel.Name of channel.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Unique request ID to be specified.Deprecated.An optional Amazon Resource Name (ARN) of the role to assume when running the Channel.A collection of key-value pairs.default CreateChannelRequest.Builder
Settings for the VPC outputs This is a convenience method that creates an instance of theVpcOutputSettings.Builder
avoiding the need to create one manually viaVpcOutputSettings.builder()
.vpc
(VpcOutputSettings vpc) Settings for the VPC outputsMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.medialive.model.MediaLiveRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
cdiInputSpecification
Specification of CDI inputs for this channel- Parameters:
cdiInputSpecification
- Specification of CDI inputs for this channel- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cdiInputSpecification
default CreateChannelRequest.Builder cdiInputSpecification(Consumer<CdiInputSpecification.Builder> cdiInputSpecification) Specification of CDI inputs for this channel This is a convenience method that creates an instance of theCdiInputSpecification.Builder
avoiding the need to create one manually viaCdiInputSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocdiInputSpecification(CdiInputSpecification)
.- Parameters:
cdiInputSpecification
- a consumer that will call methods onCdiInputSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
channelClass
The class for this channel. STANDARD for a channel with two pipelines or SINGLE_PIPELINE for a channel with one pipeline.- Parameters:
channelClass
- The class for this channel. STANDARD for a channel with two pipelines or SINGLE_PIPELINE for a channel with one pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
channelClass
The class for this channel. STANDARD for a channel with two pipelines or SINGLE_PIPELINE for a channel with one pipeline.- Parameters:
channelClass
- The class for this channel. STANDARD for a channel with two pipelines or SINGLE_PIPELINE for a channel with one pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinations
Sets the value of the Destinations property for this object.- Parameters:
destinations
- The new value for the Destinations property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
Sets the value of the Destinations property for this object.- Parameters:
destinations
- The new value for the Destinations property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
Sets the value of the Destinations property for this object. This is a convenience method that creates an instance of theOutputDestination.Builder
avoiding the need to create one manually viaOutputDestination.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todestinations(List<OutputDestination>)
.- Parameters:
destinations
- a consumer that will call methods onOutputDestination.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
encoderSettings
Sets the value of the EncoderSettings property for this object.- Parameters:
encoderSettings
- The new value for the EncoderSettings property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encoderSettings
default CreateChannelRequest.Builder encoderSettings(Consumer<EncoderSettings.Builder> encoderSettings) Sets the value of the EncoderSettings property for this object. This is a convenience method that creates an instance of theEncoderSettings.Builder
avoiding the need to create one manually viaEncoderSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toencoderSettings(EncoderSettings)
.- Parameters:
encoderSettings
- a consumer that will call methods onEncoderSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
inputAttachments
List of input attachments for channel.- Parameters:
inputAttachments
- List of input attachments for channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputAttachments
List of input attachments for channel.- Parameters:
inputAttachments
- List of input attachments for channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputAttachments
CreateChannelRequest.Builder inputAttachments(Consumer<InputAttachment.Builder>... inputAttachments) List of input attachments for channel. This is a convenience method that creates an instance of theInputAttachment.Builder
avoiding the need to create one manually viaInputAttachment.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinputAttachments(List<InputAttachment>)
.- Parameters:
inputAttachments
- a consumer that will call methods onInputAttachment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
inputSpecification
Specification of network and file inputs for this channel- Parameters:
inputSpecification
- Specification of network and file inputs for this channel- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputSpecification
default CreateChannelRequest.Builder inputSpecification(Consumer<InputSpecification.Builder> inputSpecification) Specification of network and file inputs for this channel This is a convenience method that creates an instance of theInputSpecification.Builder
avoiding the need to create one manually viaInputSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinputSpecification(InputSpecification)
.- Parameters:
inputSpecification
- a consumer that will call methods onInputSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logLevel
The log level to write to CloudWatch Logs.- Parameters:
logLevel
- The log level to write to CloudWatch Logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logLevel
The log level to write to CloudWatch Logs.- Parameters:
logLevel
- The log level to write to CloudWatch Logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maintenance
Maintenance settings for this channel.- Parameters:
maintenance
- Maintenance settings for this channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maintenance
default CreateChannelRequest.Builder maintenance(Consumer<MaintenanceCreateSettings.Builder> maintenance) Maintenance settings for this channel. This is a convenience method that creates an instance of theMaintenanceCreateSettings.Builder
avoiding the need to create one manually viaMaintenanceCreateSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomaintenance(MaintenanceCreateSettings)
.- Parameters:
maintenance
- a consumer that will call methods onMaintenanceCreateSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
Name of channel.- Parameters:
name
- Name of channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestId
Unique request ID to be specified. This is needed to prevent retries from creating multiple resources.- Parameters:
requestId
- Unique request ID to be specified. This is needed to prevent retries from creating multiple resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reserved
Deprecated.Deprecated field that's only usable by whitelisted customers.- Parameters:
reserved
- Deprecated field that's only usable by whitelisted customers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
An optional Amazon Resource Name (ARN) of the role to assume when running the Channel.- Parameters:
roleArn
- An optional Amazon Resource Name (ARN) of the role to assume when running the Channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A collection of key-value pairs.- Parameters:
tags
- A collection of key-value pairs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpc
Settings for the VPC outputs- Parameters:
vpc
- Settings for the VPC outputs- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpc
Settings for the VPC outputs This is a convenience method that creates an instance of theVpcOutputSettings.Builder
avoiding the need to create one manually viaVpcOutputSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpc(VpcOutputSettings)
.- Parameters:
vpc
- a consumer that will call methods onVpcOutputSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
anywhereSettings
The Elemental Anywhere settings for this channel.- Parameters:
anywhereSettings
- The Elemental Anywhere settings for this channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anywhereSettings
default CreateChannelRequest.Builder anywhereSettings(Consumer<AnywhereSettings.Builder> anywhereSettings) The Elemental Anywhere settings for this channel. This is a convenience method that creates an instance of theAnywhereSettings.Builder
avoiding the need to create one manually viaAnywhereSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toanywhereSettings(AnywhereSettings)
.- Parameters:
anywhereSettings
- a consumer that will call methods onAnywhereSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
channelEngineVersion
The desired engine version for this channel.- Parameters:
channelEngineVersion
- The desired engine version for this channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelEngineVersion
default CreateChannelRequest.Builder channelEngineVersion(Consumer<ChannelEngineVersionRequest.Builder> channelEngineVersion) The desired engine version for this channel. This is a convenience method that creates an instance of theChannelEngineVersionRequest.Builder
avoiding the need to create one manually viaChannelEngineVersionRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tochannelEngineVersion(ChannelEngineVersionRequest)
.- Parameters:
channelEngineVersion
- a consumer that will call methods onChannelEngineVersionRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dryRun
Sets the value of the DryRun property for this object.- Parameters:
dryRun
- The new value for the DryRun property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateChannelRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateChannelRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-