Interface CreateMembersRequest.Builder

    • Method Detail

      • graphArn

        CreateMembersRequest.Builder graphArn​(String 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

        CreateMembersRequest.Builder message​(String 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

        CreateMembersRequest.Builder accounts​(Collection<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

        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

        CreateMembersRequest.Builder accounts​(Consumer<Account.Builder>... 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).

        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:
        #accounts(java.util.Collection)