Class CfnProjectMembershipProps.Builder
java.lang.Object
software.amazon.awscdk.services.datazone.CfnProjectMembershipProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProjectMembershipProps>
- Enclosing interface:
CfnProjectMembershipProps
@Stability(Stable)
public static final class CfnProjectMembershipProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProjectMembershipProps>
A builder for
CfnProjectMembershipProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.designation(String designation) Sets the value ofCfnProjectMembershipProps.getDesignation()domainIdentifier(String domainIdentifier) Sets the value ofCfnProjectMembershipProps.getDomainIdentifier()member(IResolvable member) Sets the value ofCfnProjectMembershipProps.getMember()Sets the value ofCfnProjectMembershipProps.getMember()projectIdentifier(String projectIdentifier) Sets the value ofCfnProjectMembershipProps.getProjectIdentifier()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
designation
Sets the value ofCfnProjectMembershipProps.getDesignation()- Parameters:
designation- The designated role of a project member. This parameter is required.- Returns:
this
-
domainIdentifier
@Stability(Stable) public CfnProjectMembershipProps.Builder domainIdentifier(String domainIdentifier) Sets the value ofCfnProjectMembershipProps.getDomainIdentifier()- Parameters:
domainIdentifier- The ID of the Amazon DataZone domain in which project membership is created. This parameter is required.- Returns:
this
-
member
Sets the value ofCfnProjectMembershipProps.getMember()- Parameters:
member- The details about a project member. This parameter is required.- Returns:
this
-
member
@Stability(Stable) public CfnProjectMembershipProps.Builder member(CfnProjectMembership.MemberProperty member) Sets the value ofCfnProjectMembershipProps.getMember()- Parameters:
member- The details about a project member. This parameter is required.- Returns:
this
-
projectIdentifier
@Stability(Stable) public CfnProjectMembershipProps.Builder projectIdentifier(String projectIdentifier) Sets the value ofCfnProjectMembershipProps.getProjectIdentifier()- Parameters:
projectIdentifier- The ID of the project for which this project membership was created. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnProjectMembershipProps>- Returns:
- a new instance of
CfnProjectMembershipProps - Throws:
NullPointerException- if any required attribute was not provided
-