Interface CreateMembersRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<CreateMembersRequest.Builder,CreateMembersRequest>, DetectiveRequest.Builder, SdkBuilder<CreateMembersRequest.Builder,CreateMembersRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreateMembersRequest

public static interface CreateMembersRequest.Builder extends DetectiveRequest.Builder, SdkPojo, CopyableBuilder<CreateMembersRequest.Builder,CreateMembersRequest>
  • Method Details

    • graphArn

      The ARN of the behavior graph.

      Parameters:
      graphArn - The ARN of the behavior graph.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • message

      Customized message text to include in the invitation email message to the invited member accounts.

      Parameters:
      message - Customized message text to include in the invitation email message to the invited member accounts.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • disableEmailNotification

      CreateMembersRequest.Builder disableEmailNotification(Boolean disableEmailNotification)

      if set to true, then the invited accounts do not receive email notifications. By default, this is set to false, and the invited accounts receive email notifications.

      Organization accounts in the organization behavior graph do not receive email notifications.

      Parameters:
      disableEmailNotification - if set to true, then the invited accounts do not receive email notifications. By default, this is set to false, and the invited accounts receive email notifications.

      Organization accounts in the organization behavior graph do not receive email notifications.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accounts

      The list of Amazon Web Services accounts to invite or to enable. You can invite or enable up to 50 accounts at a time. For each invited account, the account list contains the account identifier and the Amazon Web Services account root user email address. For organization accounts in the organization behavior graph, the email address is not required.

      Parameters:
      accounts - The list of Amazon Web Services accounts to invite or to enable. You can invite or enable up to 50 accounts at a time. For each invited account, the account list contains the account identifier and the Amazon Web Services account root user email address. For organization accounts in the organization behavior graph, the email address is not required.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accounts

      CreateMembersRequest.Builder accounts(Account... accounts)

      The list of Amazon Web Services accounts to invite or to enable. You can invite or enable up to 50 accounts at a time. For each invited account, the account list contains the account identifier and the Amazon Web Services account root user email address. For organization accounts in the organization behavior graph, the email address is not required.

      Parameters:
      accounts - The list of Amazon Web Services accounts to invite or to enable. You can invite or enable up to 50 accounts at a time. For each invited account, the account list contains the account identifier and the Amazon Web Services account root user email address. For organization accounts in the organization behavior graph, the email address is not required.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accounts

      The list of Amazon Web Services accounts to invite or to enable. You can invite or enable up to 50 accounts at a time. For each invited account, the account list contains the account identifier and the Amazon Web Services account root user email address. For organization accounts in the organization behavior graph, the email address is not required.

      This is a convenience method that creates an instance of the Account.Builder avoiding the need to create one manually via Account.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to accounts(List<Account>).

      Parameters:
      accounts - a consumer that will call methods on Account.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      CreateMembersRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.