Class PresetReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.mediaconvert.PresetReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<PresetReference>
- Enclosing interface:
PresetReference
@Stability(Stable)
public static final class PresetReference.Builder
extends Object
implements software.amazon.jsii.Builder<PresetReference>
A builder for
PresetReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofPresetReference.getPresetArn()Sets the value ofPresetReference.getPresetId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
presetArn
Sets the value ofPresetReference.getPresetArn()- Parameters:
presetArn- The ARN of the Preset resource. This parameter is required.- Returns:
this
-
presetId
Sets the value ofPresetReference.getPresetId()- Parameters:
presetId- The Id of the Preset resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PresetReference>- Returns:
- a new instance of
PresetReference - Throws:
NullPointerException- if any required attribute was not provided
-