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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DisableResponse.Builderaccounts(Collection<Account> accounts)Information on the accounts that have had Amazon Inspector scans successfully disabled.DisableResponse.Builderaccounts(Consumer<Account.Builder>... accounts)Information on the accounts that have had Amazon Inspector scans successfully disabled.DisableResponse.Builderaccounts(Account... accounts)Information on the accounts that have had Amazon Inspector scans successfully disabled.DisableResponse.BuilderfailedAccounts(Collection<FailedAccount> failedAccounts)Information on any accounts for which Amazon Inspector scans could not be disabled.DisableResponse.BuilderfailedAccounts(Consumer<FailedAccount.Builder>... failedAccounts)Information on any accounts for which Amazon Inspector scans could not be disabled.DisableResponse.BuilderfailedAccounts(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 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 theAccount.Builderavoiding the need to create one manually viaAccount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#accounts(List.) - 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:
#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 theFailedAccount.Builderavoiding the need to create one manually viaFailedAccount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#failedAccounts(List.) - 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:
#failedAccounts(java.util.Collection)
-
-