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