Class CfnMemberInvitation.Builder
java.lang.Object
software.amazon.awscdk.services.detective.CfnMemberInvitation.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMemberInvitation>
- Enclosing class:
CfnMemberInvitation
@Stability(Stable)
public static final class CfnMemberInvitation.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMemberInvitation>
A fluent builder for
CfnMemberInvitation
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnMemberInvitation.Builder
disableEmailNotification
(Boolean disableEmailNotification) Whether to send an invitation email to the member account.disableEmailNotification
(IResolvable disableEmailNotification) Whether to send an invitation email to the member account.The ARN of the behavior graph to invite the account to contribute data to.memberEmailAddress
(String memberEmailAddress) The root user email address of the invited account.The AWS account identifier of the invited account.Customized text to include in the invitation email message.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnMemberInvitation.Builder
.
-
graphArn
The ARN of the behavior graph to invite the account to contribute data to.- Parameters:
graphArn
- The ARN of the behavior graph to invite the account to contribute data to. This parameter is required.- Returns:
this
-
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.
- Parameters:
memberEmailAddress
- The root user email address of the invited account. This parameter is required.- Returns:
this
-
memberId
The AWS account identifier of the invited account.- Parameters:
memberId
- The AWS account identifier of the invited account. This parameter is required.- Returns:
this
-
disableEmailNotification
@Stability(Stable) public CfnMemberInvitation.Builder disableEmailNotification(Boolean disableEmailNotification) Whether to send an invitation email to the member account.If set to true, the member account does not receive an invitation email.
- Parameters:
disableEmailNotification
- Whether to send an invitation email to the member account. This parameter is required.- Returns:
this
-
disableEmailNotification
@Stability(Stable) public CfnMemberInvitation.Builder disableEmailNotification(IResolvable disableEmailNotification) Whether to send an invitation email to the member account.If set to true, the member account does not receive an invitation email.
- Parameters:
disableEmailNotification
- Whether to send an invitation email to the member account. This parameter is required.- Returns:
this
-
message
Customized text to include in the invitation email message.- Parameters:
message
- Customized text to include in the invitation email message. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnMemberInvitation>
- Returns:
- a newly built instance of
CfnMemberInvitation
.
-