Interface DisableResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<DisableResponse.Builder,DisableResponse>, Inspector2Response.Builder, SdkBuilder<DisableResponse.Builder,DisableResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
DisableResponse

public static interface DisableResponse.Builder extends Inspector2Response.Builder, SdkPojo, CopyableBuilder<DisableResponse.Builder,DisableResponse>
  • Method Details

    • 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

      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<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:
    • 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<FailedAccount>).

      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: