Interface BatchGetAccountStatusResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchGetAccountStatusResponse.Builder,BatchGetAccountStatusResponse>,Inspector2Response.Builder,SdkBuilder<BatchGetAccountStatusResponse.Builder,BatchGetAccountStatusResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- BatchGetAccountStatusResponse
public static interface BatchGetAccountStatusResponse.Builder extends Inspector2Response.Builder, SdkPojo, CopyableBuilder<BatchGetAccountStatusResponse.Builder,BatchGetAccountStatusResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchGetAccountStatusResponse.Builderaccounts(Collection<AccountState> accounts)An array of objects that provide details on the status of Amazon Inspector for each of the requested accounts.BatchGetAccountStatusResponse.Builderaccounts(Consumer<AccountState.Builder>... accounts)An array of objects that provide details on the status of Amazon Inspector for each of the requested accounts.BatchGetAccountStatusResponse.Builderaccounts(AccountState... accounts)An array of objects that provide details on the status of Amazon Inspector for each of the requested accounts.BatchGetAccountStatusResponse.BuilderfailedAccounts(Collection<FailedAccount> failedAccounts)An array of objects detailing any accounts that failed to enable Amazon Inspector and why.BatchGetAccountStatusResponse.BuilderfailedAccounts(Consumer<FailedAccount.Builder>... failedAccounts)An array of objects detailing any accounts that failed to enable Amazon Inspector and why.BatchGetAccountStatusResponse.BuilderfailedAccounts(FailedAccount... failedAccounts)An array of objects detailing any accounts that failed to enable Amazon Inspector and why.-
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
BatchGetAccountStatusResponse.Builder accounts(Collection<AccountState> accounts)
An array of objects that provide details on the status of Amazon Inspector for each of the requested accounts.
- Parameters:
accounts- An array of objects that provide details on the status of Amazon Inspector for each of the requested accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accounts
BatchGetAccountStatusResponse.Builder accounts(AccountState... accounts)
An array of objects that provide details on the status of Amazon Inspector for each of the requested accounts.
- Parameters:
accounts- An array of objects that provide details on the status of Amazon Inspector for each of the requested accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accounts
BatchGetAccountStatusResponse.Builder accounts(Consumer<AccountState.Builder>... accounts)
An array of objects that provide details on the status of Amazon Inspector for each of the requested accounts.
This is a convenience method that creates an instance of theAccountState.Builderavoiding the need to create one manually viaAccountState.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 onAccountState.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#accounts(java.util.Collection)
-
failedAccounts
BatchGetAccountStatusResponse.Builder failedAccounts(Collection<FailedAccount> failedAccounts)
An array of objects detailing any accounts that failed to enable Amazon Inspector and why.
- Parameters:
failedAccounts- An array of objects detailing any accounts that failed to enable Amazon Inspector and why.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedAccounts
BatchGetAccountStatusResponse.Builder failedAccounts(FailedAccount... failedAccounts)
An array of objects detailing any accounts that failed to enable Amazon Inspector and why.
- Parameters:
failedAccounts- An array of objects detailing any accounts that failed to enable Amazon Inspector and why.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedAccounts
BatchGetAccountStatusResponse.Builder failedAccounts(Consumer<FailedAccount.Builder>... failedAccounts)
An array of objects detailing any accounts that failed to enable Amazon Inspector and why.
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)
-
-