Class CfnEntitlementProps.Builder
java.lang.Object
software.amazon.awscdk.services.accountaccess.CfnEntitlementProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEntitlementProps>
- Enclosing interface:
CfnEntitlementProps
@Stability(Stable)
public static final class CfnEntitlementProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEntitlementProps>
A builder for
CfnEntitlementProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationArn(String applicationArn) Sets the value ofCfnEntitlementProps.getApplicationArn()build()Builds the configured instance.entitlement(IResolvable entitlement) Sets the value ofCfnEntitlementProps.getEntitlement()entitlement(CfnEntitlement.EntitlementProperty entitlement) Sets the value ofCfnEntitlementProps.getEntitlement()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationArn
Sets the value ofCfnEntitlementProps.getApplicationArn()- Parameters:
applicationArn- The ARN of the application. This parameter is required.- Returns:
this
-
entitlement
Sets the value ofCfnEntitlementProps.getEntitlement()- Parameters:
entitlement- the value to be set. This parameter is required.- Returns:
this
-
entitlement
@Stability(Stable) public CfnEntitlementProps.Builder entitlement(CfnEntitlement.EntitlementProperty entitlement) Sets the value ofCfnEntitlementProps.getEntitlement()- Parameters:
entitlement- the value to be set. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEntitlementProps>- Returns:
- a new instance of
CfnEntitlementProps - Throws:
NullPointerException- if any required attribute was not provided
-