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