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