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
@Stability(Stable) public static CfnMemberInvitation.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- 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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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.
Default: - false
- Parameters:
disableEmailNotification
- Whether to send an invitation email to the member account. This parameter is required.- Returns:
this
- See Also:
-
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.
Default: - false
- Parameters:
disableEmailNotification
- Whether to send an invitation email to the member account. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnMemberInvitation>
- Returns:
- a newly built instance of
CfnMemberInvitation
.
-