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