Class MemberInvitationReference.Builder
java.lang.Object
software.amazon.awscdk.services.detective.MemberInvitationReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<MemberInvitationReference>
- Enclosing interface:
MemberInvitationReference
@Stability(Stable)
public static final class MemberInvitationReference.Builder
extends Object
implements software.amazon.jsii.Builder<MemberInvitationReference>
A builder for
MemberInvitationReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofMemberInvitationReference.getGraphArn()
Sets the value ofMemberInvitationReference.getMemberId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
graphArn
Sets the value ofMemberInvitationReference.getGraphArn()
- Parameters:
graphArn
- The GraphArn of the MemberInvitation resource. This parameter is required.- Returns:
this
-
memberId
Sets the value ofMemberInvitationReference.getMemberId()
- Parameters:
memberId
- The MemberId of the MemberInvitation resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<MemberInvitationReference>
- Returns:
- a new instance of
MemberInvitationReference
- Throws:
NullPointerException
- if any required attribute was not provided
-