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