Class ElastictranscoderPresetVideo.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.elastictranscoder_preset.ElastictranscoderPresetVideo.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ElastictranscoderPresetVideo>
- Enclosing interface:
- ElastictranscoderPresetVideo
@Stability(Stable) public static final class ElastictranscoderPresetVideo.Builder extends Object implements software.amazon.jsii.Builder<ElastictranscoderPresetVideo>
A builder forElastictranscoderPresetVideo
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
aspectRatio
@Stability(Stable) public ElastictranscoderPresetVideo.Builder aspectRatio(String aspectRatio)
Sets the value ofElastictranscoderPresetVideo.getAspectRatio()- Parameters:
aspectRatio- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elastictranscoder_preset#aspect_ratio ElastictranscoderPreset#aspect_ratio}.- Returns:
this
-
bitRate
@Stability(Stable) public ElastictranscoderPresetVideo.Builder bitRate(String bitRate)
Sets the value ofElastictranscoderPresetVideo.getBitRate()- Parameters:
bitRate- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elastictranscoder_preset#bit_rate ElastictranscoderPreset#bit_rate}.- Returns:
this
-
codec
@Stability(Stable) public ElastictranscoderPresetVideo.Builder codec(String codec)
Sets the value ofElastictranscoderPresetVideo.getCodec()- Parameters:
codec- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elastictranscoder_preset#codec ElastictranscoderPreset#codec}.- Returns:
this
-
displayAspectRatio
@Stability(Stable) public ElastictranscoderPresetVideo.Builder displayAspectRatio(String displayAspectRatio)
Sets the value ofElastictranscoderPresetVideo.getDisplayAspectRatio()- Parameters:
displayAspectRatio- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elastictranscoder_preset#display_aspect_ratio ElastictranscoderPreset#display_aspect_ratio}.- Returns:
this
-
fixedGop
@Stability(Stable) public ElastictranscoderPresetVideo.Builder fixedGop(String fixedGop)
Sets the value ofElastictranscoderPresetVideo.getFixedGop()- Parameters:
fixedGop- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elastictranscoder_preset#fixed_gop ElastictranscoderPreset#fixed_gop}.- Returns:
this
-
frameRate
@Stability(Stable) public ElastictranscoderPresetVideo.Builder frameRate(String frameRate)
Sets the value ofElastictranscoderPresetVideo.getFrameRate()- Parameters:
frameRate- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elastictranscoder_preset#frame_rate ElastictranscoderPreset#frame_rate}.- Returns:
this
-
keyframesMaxDist
@Stability(Stable) public ElastictranscoderPresetVideo.Builder keyframesMaxDist(String keyframesMaxDist)
Sets the value ofElastictranscoderPresetVideo.getKeyframesMaxDist()- Parameters:
keyframesMaxDist- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elastictranscoder_preset#keyframes_max_dist ElastictranscoderPreset#keyframes_max_dist}.- Returns:
this
-
maxFrameRate
@Stability(Stable) public ElastictranscoderPresetVideo.Builder maxFrameRate(String maxFrameRate)
Sets the value ofElastictranscoderPresetVideo.getMaxFrameRate()- Parameters:
maxFrameRate- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elastictranscoder_preset#max_frame_rate ElastictranscoderPreset#max_frame_rate}.- Returns:
this
-
maxHeight
@Stability(Stable) public ElastictranscoderPresetVideo.Builder maxHeight(String maxHeight)
Sets the value ofElastictranscoderPresetVideo.getMaxHeight()- Parameters:
maxHeight- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elastictranscoder_preset#max_height ElastictranscoderPreset#max_height}.- Returns:
this
-
maxWidth
@Stability(Stable) public ElastictranscoderPresetVideo.Builder maxWidth(String maxWidth)
Sets the value ofElastictranscoderPresetVideo.getMaxWidth()- Parameters:
maxWidth- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elastictranscoder_preset#max_width ElastictranscoderPreset#max_width}.- Returns:
this
-
paddingPolicy
@Stability(Stable) public ElastictranscoderPresetVideo.Builder paddingPolicy(String paddingPolicy)
Sets the value ofElastictranscoderPresetVideo.getPaddingPolicy()- Parameters:
paddingPolicy- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elastictranscoder_preset#padding_policy ElastictranscoderPreset#padding_policy}.- Returns:
this
-
resolution
@Stability(Stable) public ElastictranscoderPresetVideo.Builder resolution(String resolution)
Sets the value ofElastictranscoderPresetVideo.getResolution()- Parameters:
resolution- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elastictranscoder_preset#resolution ElastictranscoderPreset#resolution}.- Returns:
this
-
sizingPolicy
@Stability(Stable) public ElastictranscoderPresetVideo.Builder sizingPolicy(String sizingPolicy)
Sets the value ofElastictranscoderPresetVideo.getSizingPolicy()- Parameters:
sizingPolicy- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/elastictranscoder_preset#sizing_policy ElastictranscoderPreset#sizing_policy}.- Returns:
this
-
build
@Stability(Stable) public ElastictranscoderPresetVideo build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ElastictranscoderPresetVideo>- Returns:
- a new instance of
ElastictranscoderPresetVideo - Throws:
NullPointerException- if any required attribute was not provided
-
-