Class MedialiveChannelInputAttachmentsAutomaticInputFailoverSettings.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.medialive_channel.MedialiveChannelInputAttachmentsAutomaticInputFailoverSettings.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<MedialiveChannelInputAttachmentsAutomaticInputFailoverSettings>
- Enclosing interface:
- MedialiveChannelInputAttachmentsAutomaticInputFailoverSettings
@Stability(Stable) public static final class MedialiveChannelInputAttachmentsAutomaticInputFailoverSettings.Builder extends Object implements software.amazon.jsii.Builder<MedialiveChannelInputAttachmentsAutomaticInputFailoverSettings>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsbuild()Builds the configured instance.MedialiveChannelInputAttachmentsAutomaticInputFailoverSettings.BuildererrorClearTimeMsec(Number errorClearTimeMsec)MedialiveChannelInputAttachmentsAutomaticInputFailoverSettings.BuilderfailoverCondition(com.hashicorp.cdktf.IResolvable failoverCondition)MedialiveChannelInputAttachmentsAutomaticInputFailoverSettings.BuilderfailoverCondition(List<? extends MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverCondition> failoverCondition)MedialiveChannelInputAttachmentsAutomaticInputFailoverSettings.BuilderinputPreference(String inputPreference)MedialiveChannelInputAttachmentsAutomaticInputFailoverSettings.BuildersecondaryInputId(String secondaryInputId)
-
-
-
Method Detail
-
secondaryInputId
@Stability(Stable) public MedialiveChannelInputAttachmentsAutomaticInputFailoverSettings.Builder secondaryInputId(String secondaryInputId)
Sets the value ofMedialiveChannelInputAttachmentsAutomaticInputFailoverSettings.getSecondaryInputId()- Parameters:
secondaryInputId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/medialive_channel#secondary_input_id MedialiveChannel#secondary_input_id}. This parameter is required.- Returns:
this
-
errorClearTimeMsec
@Stability(Stable) public MedialiveChannelInputAttachmentsAutomaticInputFailoverSettings.Builder errorClearTimeMsec(Number errorClearTimeMsec)
Sets the value ofMedialiveChannelInputAttachmentsAutomaticInputFailoverSettings.getErrorClearTimeMsec()- Parameters:
errorClearTimeMsec- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/medialive_channel#error_clear_time_msec MedialiveChannel#error_clear_time_msec}.- Returns:
this
-
failoverCondition
@Stability(Stable) public MedialiveChannelInputAttachmentsAutomaticInputFailoverSettings.Builder failoverCondition(com.hashicorp.cdktf.IResolvable failoverCondition)
Sets the value ofMedialiveChannelInputAttachmentsAutomaticInputFailoverSettings.getFailoverCondition()- Parameters:
failoverCondition- failover_condition block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/medialive_channel#failover_condition MedialiveChannel#failover_condition}- Returns:
this
-
failoverCondition
@Stability(Stable) public MedialiveChannelInputAttachmentsAutomaticInputFailoverSettings.Builder failoverCondition(List<? extends MedialiveChannelInputAttachmentsAutomaticInputFailoverSettingsFailoverCondition> failoverCondition)
Sets the value ofMedialiveChannelInputAttachmentsAutomaticInputFailoverSettings.getFailoverCondition()- Parameters:
failoverCondition- failover_condition block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/medialive_channel#failover_condition MedialiveChannel#failover_condition}- Returns:
this
-
inputPreference
@Stability(Stable) public MedialiveChannelInputAttachmentsAutomaticInputFailoverSettings.Builder inputPreference(String inputPreference)
Sets the value ofMedialiveChannelInputAttachmentsAutomaticInputFailoverSettings.getInputPreference()- Parameters:
inputPreference- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/medialive_channel#input_preference MedialiveChannel#input_preference}.- Returns:
this
-
build
@Stability(Stable) public MedialiveChannelInputAttachmentsAutomaticInputFailoverSettings build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MedialiveChannelInputAttachmentsAutomaticInputFailoverSettings>- Returns:
- a new instance of
MedialiveChannelInputAttachmentsAutomaticInputFailoverSettings - Throws:
NullPointerException- if any required attribute was not provided
-
-