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 Details

    • create

      @Stability(Stable) public static CfnMemberInvitation.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnMemberInvitation.Builder.
    • graphArn

      @Stability(Stable) public CfnMemberInvitation.Builder graphArn(String 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

      @Stability(Stable) public CfnMemberInvitation.Builder memberEmailAddress(String 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

      @Stability(Stable) public CfnMemberInvitation.Builder memberId(String 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

      @Stability(Stable) public CfnMemberInvitation.Builder message(String 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

      @Stability(Stable) public CfnMemberInvitation build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnMemberInvitation>
      Returns:
      a newly built instance of CfnMemberInvitation.