Interface CreateChannelRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateChannelRequest.Builder,
,CreateChannelRequest> MediaPackageV2Request.Builder
,SdkBuilder<CreateChannelRequest.Builder,
,CreateChannelRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateChannelRequest
-
Method Summary
Modifier and TypeMethodDescriptionchannelGroupName
(String channelGroupName) The name that describes the channel group.channelName
(String channelName) The name that describes the channel.clientToken
(String clientToken) A unique, case-sensitive token that you provide to ensure the idempotency of the request.description
(String description) Enter any descriptive text that helps you to identify the channel.default CreateChannelRequest.Builder
inputSwitchConfiguration
(Consumer<InputSwitchConfiguration.Builder> inputSwitchConfiguration) The configuration for input switching based on the media quality confidence score (MQCS) as provided from AWS Elemental MediaLive.inputSwitchConfiguration
(InputSwitchConfiguration inputSwitchConfiguration) The configuration for input switching based on the media quality confidence score (MQCS) as provided from AWS Elemental MediaLive.The input type will be an immutable field which will be used to define whether the channel will allow CMAF ingest or HLS ingest.The input type will be an immutable field which will be used to define whether the channel will allow CMAF ingest or HLS ingest.default CreateChannelRequest.Builder
outputHeaderConfiguration
(Consumer<OutputHeaderConfiguration.Builder> outputHeaderConfiguration) The settings for what common media server data (CMSD) headers AWS Elemental MediaPackage includes in responses to the CDN.outputHeaderConfiguration
(OutputHeaderConfiguration outputHeaderConfiguration) The settings for what common media server data (CMSD) headers AWS Elemental MediaPackage includes in responses to the CDN.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.A comma-separated list of tag key:value pairs that you define.Methods 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.mediapackagev2.model.MediaPackageV2Request.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
-
channelGroupName
The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.
- Parameters:
channelGroupName
- The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelName
The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group. You can't change the name after you create the channel.
- Parameters:
channelName
- The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group. You can't change the name after you create the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
- Parameters:
clientToken
- A unique, case-sensitive token that you provide to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputType
The input type will be an immutable field which will be used to define whether the channel will allow CMAF ingest or HLS ingest. If unprovided, it will default to HLS to preserve current behavior.
The allowed values are:
-
HLS
- The HLS streaming specification (which defines M3U8 manifests and TS segments). -
CMAF
- The DASH-IF CMAF Ingest specification (which defines CMAF segments with optional DASH manifests).
- Parameters:
inputType
- The input type will be an immutable field which will be used to define whether the channel will allow CMAF ingest or HLS ingest. If unprovided, it will default to HLS to preserve current behavior.The allowed values are:
-
HLS
- The HLS streaming specification (which defines M3U8 manifests and TS segments). -
CMAF
- The DASH-IF CMAF Ingest specification (which defines CMAF segments with optional DASH manifests).
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
inputType
The input type will be an immutable field which will be used to define whether the channel will allow CMAF ingest or HLS ingest. If unprovided, it will default to HLS to preserve current behavior.
The allowed values are:
-
HLS
- The HLS streaming specification (which defines M3U8 manifests and TS segments). -
CMAF
- The DASH-IF CMAF Ingest specification (which defines CMAF segments with optional DASH manifests).
- Parameters:
inputType
- The input type will be an immutable field which will be used to define whether the channel will allow CMAF ingest or HLS ingest. If unprovided, it will default to HLS to preserve current behavior.The allowed values are:
-
HLS
- The HLS streaming specification (which defines M3U8 manifests and TS segments). -
CMAF
- The DASH-IF CMAF Ingest specification (which defines CMAF segments with optional DASH manifests).
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
description
Enter any descriptive text that helps you to identify the channel.
- Parameters:
description
- Enter any descriptive text that helps you to identify the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputSwitchConfiguration
CreateChannelRequest.Builder inputSwitchConfiguration(InputSwitchConfiguration inputSwitchConfiguration) The configuration for input switching based on the media quality confidence score (MQCS) as provided from AWS Elemental MediaLive. This setting is valid only when
InputType
isCMAF
.- Parameters:
inputSwitchConfiguration
- The configuration for input switching based on the media quality confidence score (MQCS) as provided from AWS Elemental MediaLive. This setting is valid only whenInputType
isCMAF
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputSwitchConfiguration
default CreateChannelRequest.Builder inputSwitchConfiguration(Consumer<InputSwitchConfiguration.Builder> inputSwitchConfiguration) The configuration for input switching based on the media quality confidence score (MQCS) as provided from AWS Elemental MediaLive. This setting is valid only when
This is a convenience method that creates an instance of theInputType
isCMAF
.InputSwitchConfiguration.Builder
avoiding the need to create one manually viaInputSwitchConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinputSwitchConfiguration(InputSwitchConfiguration)
.- Parameters:
inputSwitchConfiguration
- a consumer that will call methods onInputSwitchConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputHeaderConfiguration
CreateChannelRequest.Builder outputHeaderConfiguration(OutputHeaderConfiguration outputHeaderConfiguration) The settings for what common media server data (CMSD) headers AWS Elemental MediaPackage includes in responses to the CDN. This setting is valid only when
InputType
isCMAF
.- Parameters:
outputHeaderConfiguration
- The settings for what common media server data (CMSD) headers AWS Elemental MediaPackage includes in responses to the CDN. This setting is valid only whenInputType
isCMAF
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputHeaderConfiguration
default CreateChannelRequest.Builder outputHeaderConfiguration(Consumer<OutputHeaderConfiguration.Builder> outputHeaderConfiguration) The settings for what common media server data (CMSD) headers AWS Elemental MediaPackage includes in responses to the CDN. This setting is valid only when
This is a convenience method that creates an instance of theInputType
isCMAF
.OutputHeaderConfiguration.Builder
avoiding the need to create one manually viaOutputHeaderConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputHeaderConfiguration(OutputHeaderConfiguration)
.- Parameters:
outputHeaderConfiguration
- a consumer that will call methods onOutputHeaderConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
A comma-separated list of tag key:value pairs that you define. For example:
"Key1": "Value1",
"Key2": "Value2"
- Parameters:
tags
- A comma-separated list of tag key:value pairs that you define. For example:"Key1": "Value1",
"Key2": "Value2"
- 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.
-