Interface DisableResponse.Builder

    • Method Detail

      • accounts

        DisableResponse.Builder accounts​(Collection<Account> accounts)

        Information on the accounts that have had Amazon Inspector scans successfully disabled. Details are provided for each account.

        Parameters:
        accounts - Information on the accounts that have had Amazon Inspector scans successfully disabled. Details are provided for each account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accounts

        DisableResponse.Builder accounts​(Account... accounts)

        Information on the accounts that have had Amazon Inspector scans successfully disabled. Details are provided for each account.

        Parameters:
        accounts - Information on the accounts that have had Amazon Inspector scans successfully disabled. Details are provided for each account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accounts

        DisableResponse.Builder accounts​(Consumer<Account.Builder>... accounts)

        Information on the accounts that have had Amazon Inspector scans successfully disabled. Details are provided for each account.

        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)
      • failedAccounts

        DisableResponse.Builder failedAccounts​(Collection<FailedAccount> failedAccounts)

        Information on any accounts for which Amazon Inspector scans could not be disabled. Details are provided for each account.

        Parameters:
        failedAccounts - Information on any accounts for which Amazon Inspector scans could not be disabled. Details are provided for each account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • failedAccounts

        DisableResponse.Builder failedAccounts​(FailedAccount... failedAccounts)

        Information on any accounts for which Amazon Inspector scans could not be disabled. Details are provided for each account.

        Parameters:
        failedAccounts - Information on any accounts for which Amazon Inspector scans could not be disabled. Details are provided for each account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • failedAccounts

        DisableResponse.Builder failedAccounts​(Consumer<FailedAccount.Builder>... failedAccounts)

        Information on any accounts for which Amazon Inspector scans could not be disabled. Details are provided for each account.

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

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

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