Class EntitlementReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.accountaccess.EntitlementReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EntitlementReference>
- Enclosing interface:
EntitlementReference
@Stability(Stable)
public static final class EntitlementReference.Builder
extends Object
implements software.amazon.jsii.Builder<EntitlementReference>
A builder for
EntitlementReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationArn(String applicationArn) Sets the value ofEntitlementReference.getApplicationArn()build()Builds the configured instance.entitlementId(String entitlementId) Sets the value ofEntitlementReference.getEntitlementId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationArn
Sets the value ofEntitlementReference.getApplicationArn()- Parameters:
applicationArn- The ApplicationArn of the Entitlement resource. This parameter is required.- Returns:
this
-
entitlementId
Sets the value ofEntitlementReference.getEntitlementId()- Parameters:
entitlementId- The EntitlementId of the Entitlement resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EntitlementReference>- Returns:
- a new instance of
EntitlementReference - Throws:
NullPointerException- if any required attribute was not provided
-