Class CfnGroupMembershipMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.identitystore.CfnGroupMembershipMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGroupMembershipMixinProps>
- Enclosing interface:
CfnGroupMembershipMixinProps
@Stability(Stable)
public static final class CfnGroupMembershipMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGroupMembershipMixinProps>
A builder for
CfnGroupMembershipMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnGroupMembershipMixinProps.getGroupId()identityStoreId(String identityStoreId) Sets the value ofCfnGroupMembershipMixinProps.getIdentityStoreId()Sets the value ofCfnGroupMembershipMixinProps.getMemberId()memberId(IResolvable memberId) Sets the value ofCfnGroupMembershipMixinProps.getMemberId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
groupId
Sets the value ofCfnGroupMembershipMixinProps.getGroupId()- Parameters:
groupId- The identifier for a group in the identity store.- Returns:
this
-
identityStoreId
@Stability(Stable) public CfnGroupMembershipMixinProps.Builder identityStoreId(String identityStoreId) Sets the value ofCfnGroupMembershipMixinProps.getIdentityStoreId()- Parameters:
identityStoreId- The globally unique identifier for the identity store.- Returns:
this
-
memberId
Sets the value ofCfnGroupMembershipMixinProps.getMemberId()- Parameters:
memberId- An object containing the identifier of a group member. Setting theMemberId'sUserIdfield to a specific User's ID indicates that user is a member of the group.- Returns:
this
-
memberId
@Stability(Stable) public CfnGroupMembershipMixinProps.Builder memberId(CfnGroupMembershipPropsMixin.MemberIdProperty memberId) Sets the value ofCfnGroupMembershipMixinProps.getMemberId()- Parameters:
memberId- An object containing the identifier of a group member. Setting theMemberId'sUserIdfield to a specific User's ID indicates that user is a member of the group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGroupMembershipMixinProps>- Returns:
- a new instance of
CfnGroupMembershipMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-