Class CfnGroupMembership.Builder
java.lang.Object
software.amazon.awscdk.services.identitystore.CfnGroupMembership.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGroupMembership>
- Enclosing class:
- CfnGroupMembership
@Stability(Stable)
public static final class CfnGroupMembership.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGroupMembership>
A fluent builder for
CfnGroupMembership
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnGroupMembership.Builder
AWS::IdentityStore::GroupMembership.GroupId
.identityStoreId
(String identityStoreId) AWS::IdentityStore::GroupMembership.IdentityStoreId
.memberId
(IResolvable memberId) An object containing the identifier of a group member.memberId
(CfnGroupMembership.MemberIdProperty memberId) An object containing the identifier of a group member.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnGroupMembership.Builder
.
-
groupId
AWS::IdentityStore::GroupMembership.GroupId
.- Parameters:
groupId
-AWS::IdentityStore::GroupMembership.GroupId
. This parameter is required.- Returns:
this
-
identityStoreId
AWS::IdentityStore::GroupMembership.IdentityStoreId
.- Parameters:
identityStoreId
-AWS::IdentityStore::GroupMembership.IdentityStoreId
. This parameter is required.- Returns:
this
-
memberId
@Stability(Stable) public CfnGroupMembership.Builder memberId(CfnGroupMembership.MemberIdProperty memberId) An object containing the identifier of a group member.Setting
MemberId
'sUserId
field to a specific User's ID indicates we should consider that User as a group member.- Parameters:
memberId
- An object containing the identifier of a group member. This parameter is required.- Returns:
this
-
memberId
An object containing the identifier of a group member.Setting
MemberId
'sUserId
field to a specific User's ID indicates we should consider that User as a group member.- Parameters:
memberId
- An object containing the identifier of a group member. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnGroupMembership>
- Returns:
- a newly built instance of
CfnGroupMembership
.
-