Class ElastictranscoderPresetConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.elastictranscoder_preset.ElastictranscoderPresetConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ElastictranscoderPresetConfig>
- Enclosing interface:
- ElastictranscoderPresetConfig
@Stability(Stable) public static final class ElastictranscoderPresetConfig.Builder extends Object implements software.amazon.jsii.Builder<ElastictranscoderPresetConfig>
A builder forElastictranscoderPresetConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
container
@Stability(Stable) public ElastictranscoderPresetConfig.Builder container(String container)
Sets the value ofElastictranscoderPresetConfig.getContainer()- Parameters:
container- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elastictranscoder_preset#container ElastictranscoderPreset#container}. This parameter is required.- Returns:
this
-
audio
@Stability(Stable) public ElastictranscoderPresetConfig.Builder audio(ElastictranscoderPresetAudio audio)
Sets the value ofElastictranscoderPresetConfig.getAudio()- Parameters:
audio- audio block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elastictranscoder_preset#audio ElastictranscoderPreset#audio}- Returns:
this
-
audioCodecOptions
@Stability(Stable) public ElastictranscoderPresetConfig.Builder audioCodecOptions(ElastictranscoderPresetAudioCodecOptions audioCodecOptions)
Sets the value ofElastictranscoderPresetConfig.getAudioCodecOptions()- Parameters:
audioCodecOptions- audio_codec_options block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elastictranscoder_preset#audio_codec_options ElastictranscoderPreset#audio_codec_options}- Returns:
this
-
description
@Stability(Stable) public ElastictranscoderPresetConfig.Builder description(String description)
Sets the value ofElastictranscoderPresetConfig.getDescription()- Parameters:
description- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elastictranscoder_preset#description ElastictranscoderPreset#description}.- Returns:
this
-
id
@Stability(Stable) public ElastictranscoderPresetConfig.Builder id(String id)
Sets the value ofElastictranscoderPresetConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elastictranscoder_preset#id ElastictranscoderPreset#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
-
name
@Stability(Stable) public ElastictranscoderPresetConfig.Builder name(String name)
Sets the value ofElastictranscoderPresetConfig.getName()- Parameters:
name- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elastictranscoder_preset#name ElastictranscoderPreset#name}.- Returns:
this
-
thumbnails
@Stability(Stable) public ElastictranscoderPresetConfig.Builder thumbnails(ElastictranscoderPresetThumbnails thumbnails)
Sets the value ofElastictranscoderPresetConfig.getThumbnails()- Parameters:
thumbnails- thumbnails block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elastictranscoder_preset#thumbnails ElastictranscoderPreset#thumbnails}- Returns:
this
-
type
@Stability(Stable) public ElastictranscoderPresetConfig.Builder type(String type)
Sets the value ofElastictranscoderPresetConfig.getType()- Parameters:
type- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elastictranscoder_preset#type ElastictranscoderPreset#type}.- Returns:
this
-
video
@Stability(Stable) public ElastictranscoderPresetConfig.Builder video(ElastictranscoderPresetVideo video)
Sets the value ofElastictranscoderPresetConfig.getVideo()- Parameters:
video- video block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elastictranscoder_preset#video ElastictranscoderPreset#video}- Returns:
this
-
videoCodecOptions
@Stability(Stable) public ElastictranscoderPresetConfig.Builder videoCodecOptions(Map<String,String> videoCodecOptions)
Sets the value ofElastictranscoderPresetConfig.getVideoCodecOptions()- Parameters:
videoCodecOptions- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elastictranscoder_preset#video_codec_options ElastictranscoderPreset#video_codec_options}.- Returns:
this
-
videoWatermarks
@Stability(Stable) public ElastictranscoderPresetConfig.Builder videoWatermarks(com.hashicorp.cdktf.IResolvable videoWatermarks)
Sets the value ofElastictranscoderPresetConfig.getVideoWatermarks()- Parameters:
videoWatermarks- video_watermarks block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elastictranscoder_preset#video_watermarks ElastictranscoderPreset#video_watermarks}- Returns:
this
-
videoWatermarks
@Stability(Stable) public ElastictranscoderPresetConfig.Builder videoWatermarks(List<? extends ElastictranscoderPresetVideoWatermarks> videoWatermarks)
Sets the value ofElastictranscoderPresetConfig.getVideoWatermarks()- Parameters:
videoWatermarks- video_watermarks block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elastictranscoder_preset#video_watermarks ElastictranscoderPreset#video_watermarks}- Returns:
this
-
connection
@Stability(Experimental) public ElastictranscoderPresetConfig.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 ElastictranscoderPresetConfig.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 ElastictranscoderPresetConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public ElastictranscoderPresetConfig.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 ElastictranscoderPresetConfig.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 ElastictranscoderPresetConfig.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 ElastictranscoderPresetConfig.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 ElastictranscoderPresetConfig.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 ElastictranscoderPresetConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public ElastictranscoderPresetConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ElastictranscoderPresetConfig>- Returns:
- a new instance of
ElastictranscoderPresetConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-