Class MedialiveChannelConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.medialive_channel.MedialiveChannelConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<MedialiveChannelConfig>
- Enclosing interface:
- MedialiveChannelConfig
@Stability(Stable) public static final class MedialiveChannelConfig.Builder extends Object implements software.amazon.jsii.Builder<MedialiveChannelConfig>
A builder forMedialiveChannelConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
channelClass
@Stability(Stable) public MedialiveChannelConfig.Builder channelClass(String channelClass)
Sets the value ofMedialiveChannelConfig.getChannelClass()- Parameters:
channelClass- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/medialive_channel#channel_class MedialiveChannel#channel_class}. This parameter is required.- Returns:
this
-
destinations
@Stability(Stable) public MedialiveChannelConfig.Builder destinations(com.hashicorp.cdktf.IResolvable destinations)
Sets the value ofMedialiveChannelConfig.getDestinations()- Parameters:
destinations- destinations block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/medialive_channel#destinations MedialiveChannel#destinations}- Returns:
this
-
destinations
@Stability(Stable) public MedialiveChannelConfig.Builder destinations(List<? extends MedialiveChannelDestinations> destinations)
Sets the value ofMedialiveChannelConfig.getDestinations()- Parameters:
destinations- destinations block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/medialive_channel#destinations MedialiveChannel#destinations}- Returns:
this
-
encoderSettings
@Stability(Stable) public MedialiveChannelConfig.Builder encoderSettings(MedialiveChannelEncoderSettings encoderSettings)
Sets the value ofMedialiveChannelConfig.getEncoderSettings()- Parameters:
encoderSettings- encoder_settings block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/medialive_channel#encoder_settings MedialiveChannel#encoder_settings}- Returns:
this
-
inputAttachments
@Stability(Stable) public MedialiveChannelConfig.Builder inputAttachments(com.hashicorp.cdktf.IResolvable inputAttachments)
Sets the value ofMedialiveChannelConfig.getInputAttachments()- Parameters:
inputAttachments- input_attachments block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/medialive_channel#input_attachments MedialiveChannel#input_attachments}- Returns:
this
-
inputAttachments
@Stability(Stable) public MedialiveChannelConfig.Builder inputAttachments(List<? extends MedialiveChannelInputAttachments> inputAttachments)
Sets the value ofMedialiveChannelConfig.getInputAttachments()- Parameters:
inputAttachments- input_attachments block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/medialive_channel#input_attachments MedialiveChannel#input_attachments}- Returns:
this
-
inputSpecification
@Stability(Stable) public MedialiveChannelConfig.Builder inputSpecification(MedialiveChannelInputSpecification inputSpecification)
Sets the value ofMedialiveChannelConfig.getInputSpecification()- Parameters:
inputSpecification- input_specification block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/medialive_channel#input_specification MedialiveChannel#input_specification}- Returns:
this
-
name
@Stability(Stable) public MedialiveChannelConfig.Builder name(String name)
Sets the value ofMedialiveChannelConfig.getName()- Parameters:
name- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/medialive_channel#name MedialiveChannel#name}. This parameter is required.- Returns:
this
-
cdiInputSpecification
@Stability(Stable) public MedialiveChannelConfig.Builder cdiInputSpecification(MedialiveChannelCdiInputSpecification cdiInputSpecification)
Sets the value ofMedialiveChannelConfig.getCdiInputSpecification()- Parameters:
cdiInputSpecification- cdi_input_specification block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/medialive_channel#cdi_input_specification MedialiveChannel#cdi_input_specification}- Returns:
this
-
id
@Stability(Stable) public MedialiveChannelConfig.Builder id(String id)
Sets the value ofMedialiveChannelConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/medialive_channel#id MedialiveChannel#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.- Returns:
this
-
logLevel
@Stability(Stable) public MedialiveChannelConfig.Builder logLevel(String logLevel)
Sets the value ofMedialiveChannelConfig.getLogLevel()- Parameters:
logLevel- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/medialive_channel#log_level MedialiveChannel#log_level}.- Returns:
this
-
maintenance
@Stability(Stable) public MedialiveChannelConfig.Builder maintenance(MedialiveChannelMaintenance maintenance)
Sets the value ofMedialiveChannelConfig.getMaintenance()- Parameters:
maintenance- maintenance block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/medialive_channel#maintenance MedialiveChannel#maintenance}- Returns:
this
-
roleArn
@Stability(Stable) public MedialiveChannelConfig.Builder roleArn(String roleArn)
Sets the value ofMedialiveChannelConfig.getRoleArn()- Parameters:
roleArn- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/medialive_channel#role_arn MedialiveChannel#role_arn}.- Returns:
this
-
startChannel
@Stability(Stable) public MedialiveChannelConfig.Builder startChannel(Boolean startChannel)
Sets the value ofMedialiveChannelConfig.getStartChannel()- Parameters:
startChannel- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/medialive_channel#start_channel MedialiveChannel#start_channel}.- Returns:
this
-
startChannel
@Stability(Stable) public MedialiveChannelConfig.Builder startChannel(com.hashicorp.cdktf.IResolvable startChannel)
Sets the value ofMedialiveChannelConfig.getStartChannel()- Parameters:
startChannel- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/medialive_channel#start_channel MedialiveChannel#start_channel}.- Returns:
this
-
tags
@Stability(Stable) public MedialiveChannelConfig.Builder tags(Map<String,String> tags)
Sets the value ofMedialiveChannelConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/medialive_channel#tags MedialiveChannel#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public MedialiveChannelConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofMedialiveChannelConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/medialive_channel#tags_all MedialiveChannel#tags_all}.- Returns:
this
-
timeouts
@Stability(Stable) public MedialiveChannelConfig.Builder timeouts(MedialiveChannelTimeouts timeouts)
Sets the value ofMedialiveChannelConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/medialive_channel#timeouts MedialiveChannel#timeouts}- Returns:
this
-
vpc
@Stability(Stable) public MedialiveChannelConfig.Builder vpc(MedialiveChannelVpc vpc)
Sets the value ofMedialiveChannelConfig.getVpc()- Parameters:
vpc- vpc block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/medialive_channel#vpc MedialiveChannel#vpc}- Returns:
this
-
connection
@Stability(Experimental) public MedialiveChannelConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public MedialiveChannelConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public MedialiveChannelConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public MedialiveChannelConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public MedialiveChannelConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public MedialiveChannelConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public MedialiveChannelConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public MedialiveChannelConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public MedialiveChannelConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public MedialiveChannelConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MedialiveChannelConfig>- Returns:
- a new instance of
MedialiveChannelConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-