Class GroupMembershipReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.identitystore.GroupMembershipReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GroupMembershipReference>
- Enclosing interface:
GroupMembershipReference
@Stability(Stable)
public static final class GroupMembershipReference.Builder
extends Object
implements software.amazon.jsii.Builder<GroupMembershipReference>
A builder for
GroupMembershipReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.identityStoreId(String identityStoreId) Sets the value ofGroupMembershipReference.getIdentityStoreId()membershipId(String membershipId) Sets the value ofGroupMembershipReference.getMembershipId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
identityStoreId
Sets the value ofGroupMembershipReference.getIdentityStoreId()- Parameters:
identityStoreId- The IdentityStoreId of the GroupMembership resource. This parameter is required.- Returns:
this
-
membershipId
Sets the value ofGroupMembershipReference.getMembershipId()- Parameters:
membershipId- The MembershipId of the GroupMembership resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GroupMembershipReference>- Returns:
- a new instance of
GroupMembershipReference - Throws:
NullPointerException- if any required attribute was not provided
-