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