Class AssetReference.Builder
java.lang.Object
software.amazon.awscdk.services.mediapackage.AssetReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AssetReference>
- Enclosing interface:
AssetReference
@Stability(Stable)
public static final class AssetReference.Builder
extends Object
implements software.amazon.jsii.Builder<AssetReference>
A builder for
AssetReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofAssetReference.getAssetArn()
Sets the value ofAssetReference.getAssetId()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
assetArn
Sets the value ofAssetReference.getAssetArn()
- Parameters:
assetArn
- The ARN of the Asset resource. This parameter is required.- Returns:
this
-
assetId
Sets the value ofAssetReference.getAssetId()
- Parameters:
assetId
- The Id of the Asset resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AssetReference>
- Returns:
- a new instance of
AssetReference
- Throws:
NullPointerException
- if any required attribute was not provided
-