Interface CreateMembersRequest.Builder

    • Method Detail

      • detectorId

        CreateMembersRequest.Builder detectorId​(String detectorId)

        The unique ID of the detector of the GuardDuty account that you want to associate member accounts with.

        Parameters:
        detectorId - The unique ID of the detector of the GuardDuty account that you want to associate member accounts with.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accountDetails

        CreateMembersRequest.Builder accountDetails​(Collection<AccountDetail> accountDetails)

        A list of account ID and email address pairs of the accounts that you want to associate with the GuardDuty administrator account.

        Parameters:
        accountDetails - A list of account ID and email address pairs of the accounts that you want to associate with the GuardDuty administrator account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accountDetails

        CreateMembersRequest.Builder accountDetails​(AccountDetail... accountDetails)

        A list of account ID and email address pairs of the accounts that you want to associate with the GuardDuty administrator account.

        Parameters:
        accountDetails - A list of account ID and email address pairs of the accounts that you want to associate with the GuardDuty administrator account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accountDetails

        CreateMembersRequest.Builder accountDetails​(Consumer<AccountDetail.Builder>... accountDetails)

        A list of account ID and email address pairs of the accounts that you want to associate with the GuardDuty administrator account.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #accountDetails(List).

        Parameters:
        accountDetails - a consumer that will call methods on AccountDetail.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #accountDetails(java.util.Collection)