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