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