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