Interface DeleteMembersResponse.Builder

  • Method Details

    • accountIds

      The list of Amazon Web Services account identifiers for the member accounts that Detective successfully removed from the behavior graph.

      Parameters:
      accountIds - The list of Amazon Web Services account identifiers for the member accounts that Detective successfully removed from the behavior graph.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accountIds

      DeleteMembersResponse.Builder accountIds(String... accountIds)

      The list of Amazon Web Services account identifiers for the member accounts that Detective successfully removed from the behavior graph.

      Parameters:
      accountIds - The list of Amazon Web Services account identifiers for the member accounts that Detective successfully removed from the behavior graph.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • unprocessedAccounts

      DeleteMembersResponse.Builder unprocessedAccounts(Collection<UnprocessedAccount> unprocessedAccounts)

      The list of member accounts that Detective was not able to remove from the behavior graph. For each member account, provides the reason that the deletion could not be processed.

      Parameters:
      unprocessedAccounts - The list of member accounts that Detective was not able to remove from the behavior graph. For each member account, provides the reason that the deletion could not be processed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • unprocessedAccounts

      DeleteMembersResponse.Builder unprocessedAccounts(UnprocessedAccount... unprocessedAccounts)

      The list of member accounts that Detective was not able to remove from the behavior graph. For each member account, provides the reason that the deletion could not be processed.

      Parameters:
      unprocessedAccounts - The list of member accounts that Detective was not able to remove from the behavior graph. For each member account, provides the reason that the deletion could not be processed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • unprocessedAccounts

      DeleteMembersResponse.Builder unprocessedAccounts(Consumer<UnprocessedAccount.Builder>... unprocessedAccounts)

      The list of member accounts that Detective was not able to remove from the behavior graph. For each member account, provides the reason that the deletion could not be processed.

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

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

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