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
The identifier for a group in the identity store.identityStoreId
(String identityStoreId) The globally unique identifier for the identity store.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
@Stability(Stable) public static CfnGroupMembership.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnGroupMembership.Builder
.
-
groupId
The identifier for a group in the identity store.- Parameters:
groupId
- The identifier for a group in the identity store. This parameter is required.- Returns:
this
- See Also:
-
identityStoreId
The globally unique identifier for the identity store.- Parameters:
identityStoreId
- The globally unique identifier for the identity store. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
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
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnGroupMembership>
- Returns:
- a newly built instance of
CfnGroupMembership
.
-