Class CfnMemberInvitationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.detective.CfnMemberInvitationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMemberInvitationMixinProps>
- Enclosing interface:
CfnMemberInvitationMixinProps
@Stability(Stable)
public static final class CfnMemberInvitationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMemberInvitationMixinProps>
A builder for
CfnMemberInvitationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.disableEmailNotification(Boolean disableEmailNotification) Sets the value ofCfnMemberInvitationMixinProps.getDisableEmailNotification()disableEmailNotification(IResolvable disableEmailNotification) Sets the value ofCfnMemberInvitationMixinProps.getDisableEmailNotification()Sets the value ofCfnMemberInvitationMixinProps.getGraphArn()memberEmailAddress(String memberEmailAddress) Sets the value ofCfnMemberInvitationMixinProps.getMemberEmailAddress()Sets the value ofCfnMemberInvitationMixinProps.getMemberId()Sets the value ofCfnMemberInvitationMixinProps.getMessage()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
disableEmailNotification
@Stability(Stable) public CfnMemberInvitationMixinProps.Builder disableEmailNotification(Boolean disableEmailNotification) Sets the value ofCfnMemberInvitationMixinProps.getDisableEmailNotification()- Parameters:
disableEmailNotification- Whether to send an invitation email to the member account. If set to true, the member account does not receive an invitation email.- Returns:
this
-
disableEmailNotification
@Stability(Stable) public CfnMemberInvitationMixinProps.Builder disableEmailNotification(IResolvable disableEmailNotification) Sets the value ofCfnMemberInvitationMixinProps.getDisableEmailNotification()- Parameters:
disableEmailNotification- Whether to send an invitation email to the member account. If set to true, the member account does not receive an invitation email.- Returns:
this
-
graphArn
Sets the value ofCfnMemberInvitationMixinProps.getGraphArn()- Parameters:
graphArn- The ARN of the behavior graph to invite the account to contribute data to.- Returns:
this
-
memberEmailAddress
@Stability(Stable) public CfnMemberInvitationMixinProps.Builder memberEmailAddress(String memberEmailAddress) Sets the value ofCfnMemberInvitationMixinProps.getMemberEmailAddress()- Parameters:
memberEmailAddress- The root user email address of the invited account. If the email address provided is not the root user email address for the provided account, the invitation creation fails.- Returns:
this
-
memberId
Sets the value ofCfnMemberInvitationMixinProps.getMemberId()- Parameters:
memberId- The AWS account identifier of the invited account.- Returns:
this
-
message
Sets the value ofCfnMemberInvitationMixinProps.getMessage()- Parameters:
message- Customized text to include in the invitation email message.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMemberInvitationMixinProps>- Returns:
- a new instance of
CfnMemberInvitationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-