Interface DisableResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DisableResponse.Builder,
,DisableResponse> Inspector2Response.Builder
,SdkBuilder<DisableResponse.Builder,
,DisableResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DisableResponse
-
Method Summary
Modifier and TypeMethodDescriptionaccounts
(Collection<Account> accounts) Information on the accounts that have had Amazon Inspector scans successfully disabled.accounts
(Consumer<Account.Builder>... accounts) Information on the accounts that have had Amazon Inspector scans successfully disabled.Information on the accounts that have had Amazon Inspector scans successfully disabled.failedAccounts
(Collection<FailedAccount> failedAccounts) Information on any accounts for which Amazon Inspector scans could not be disabled.failedAccounts
(Consumer<FailedAccount.Builder>... failedAccounts) Information on any accounts for which Amazon Inspector scans could not be disabled.failedAccounts
(FailedAccount... failedAccounts) Information on any accounts for which Amazon Inspector scans could not be disabled.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.inspector2.model.Inspector2Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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
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 theAccount.Builder
avoiding the need to create one manually viaAccount.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccounts(List<Account>)
.- Parameters:
accounts
- a consumer that will call methods onAccount.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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 theFailedAccount.Builder
avoiding the need to create one manually viaFailedAccount.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofailedAccounts(List<FailedAccount>)
.- Parameters:
failedAccounts
- a consumer that will call methods onFailedAccount.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-