Class CfnProjectMembership.MemberProperty.Builder
java.lang.Object
software.amazon.awscdk.services.datazone.CfnProjectMembership.MemberProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProjectMembership.MemberProperty>
- Enclosing interface:
CfnProjectMembership.MemberProperty
@Stability(Stable)
public static final class CfnProjectMembership.MemberProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProjectMembership.MemberProperty>
A builder for
CfnProjectMembership.MemberProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.groupIdentifier
(String groupIdentifier) Sets the value ofCfnProjectMembership.MemberProperty.getGroupIdentifier()
userIdentifier
(String userIdentifier) Sets the value ofCfnProjectMembership.MemberProperty.getUserIdentifier()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
groupIdentifier
@Stability(Stable) public CfnProjectMembership.MemberProperty.Builder groupIdentifier(String groupIdentifier) Sets the value ofCfnProjectMembership.MemberProperty.getGroupIdentifier()
- Parameters:
groupIdentifier
- The ID of the group of a project member.- Returns:
this
-
userIdentifier
@Stability(Stable) public CfnProjectMembership.MemberProperty.Builder userIdentifier(String userIdentifier) Sets the value ofCfnProjectMembership.MemberProperty.getUserIdentifier()
- Parameters:
userIdentifier
- The user ID of a project member.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnProjectMembership.MemberProperty>
- Returns:
- a new instance of
CfnProjectMembership.MemberProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-