Class ProjectMembershipReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.datazone.ProjectMembershipReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ProjectMembershipReference>
- Enclosing interface:
ProjectMembershipReference
@Stability(Stable)
public static final class ProjectMembershipReference.Builder
extends Object
implements software.amazon.jsii.Builder<ProjectMembershipReference>
A builder for
ProjectMembershipReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.domainIdentifier(String domainIdentifier) Sets the value ofProjectMembershipReference.getDomainIdentifier()memberIdentifier(String memberIdentifier) Sets the value ofProjectMembershipReference.getMemberIdentifier()memberIdentifierType(String memberIdentifierType) Sets the value ofProjectMembershipReference.getMemberIdentifierType()projectIdentifier(String projectIdentifier) Sets the value ofProjectMembershipReference.getProjectIdentifier()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domainIdentifier
@Stability(Stable) public ProjectMembershipReference.Builder domainIdentifier(String domainIdentifier) Sets the value ofProjectMembershipReference.getDomainIdentifier()- Parameters:
domainIdentifier- The DomainIdentifier of the ProjectMembership resource. This parameter is required.- Returns:
this
-
memberIdentifier
@Stability(Stable) public ProjectMembershipReference.Builder memberIdentifier(String memberIdentifier) Sets the value ofProjectMembershipReference.getMemberIdentifier()- Parameters:
memberIdentifier- The MemberIdentifier of the ProjectMembership resource. This parameter is required.- Returns:
this
-
memberIdentifierType
@Stability(Stable) public ProjectMembershipReference.Builder memberIdentifierType(String memberIdentifierType) Sets the value ofProjectMembershipReference.getMemberIdentifierType()- Parameters:
memberIdentifierType- The MemberIdentifierType of the ProjectMembership resource. This parameter is required.- Returns:
this
-
projectIdentifier
@Stability(Stable) public ProjectMembershipReference.Builder projectIdentifier(String projectIdentifier) Sets the value ofProjectMembershipReference.getProjectIdentifier()- Parameters:
projectIdentifier- The ProjectIdentifier of the ProjectMembership resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ProjectMembershipReference>- Returns:
- a new instance of
ProjectMembershipReference - Throws:
NullPointerException- if any required attribute was not provided
-