Interface BatchUpdateAutomatedDiscoveryAccountsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchUpdateAutomatedDiscoveryAccountsResponse.Builder,
,BatchUpdateAutomatedDiscoveryAccountsResponse> Macie2Response.Builder
,SdkBuilder<BatchUpdateAutomatedDiscoveryAccountsResponse.Builder,
,BatchUpdateAutomatedDiscoveryAccountsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchUpdateAutomatedDiscoveryAccountsResponse
-
Method Summary
Modifier and TypeMethodDescriptionAn array of objects, one for each account whose status wasn’t changed.An array of objects, one for each account whose status wasn’t changed.errors
(AutomatedDiscoveryAccountUpdateError... errors) An array of objects, one for each account whose status wasn’t changed.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.macie2.model.Macie2Response.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
-
errors
BatchUpdateAutomatedDiscoveryAccountsResponse.Builder errors(Collection<AutomatedDiscoveryAccountUpdateError> errors) An array of objects, one for each account whose status wasn’t changed. Each object identifies the account and explains why the status of automated sensitive data discovery wasn’t changed for the account. This value is null if the request succeeded for all specified accounts.
- Parameters:
errors
- An array of objects, one for each account whose status wasn’t changed. Each object identifies the account and explains why the status of automated sensitive data discovery wasn’t changed for the account. This value is null if the request succeeded for all specified accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchUpdateAutomatedDiscoveryAccountsResponse.Builder errors(AutomatedDiscoveryAccountUpdateError... errors) An array of objects, one for each account whose status wasn’t changed. Each object identifies the account and explains why the status of automated sensitive data discovery wasn’t changed for the account. This value is null if the request succeeded for all specified accounts.
- Parameters:
errors
- An array of objects, one for each account whose status wasn’t changed. Each object identifies the account and explains why the status of automated sensitive data discovery wasn’t changed for the account. This value is null if the request succeeded for all specified accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchUpdateAutomatedDiscoveryAccountsResponse.Builder errors(Consumer<AutomatedDiscoveryAccountUpdateError.Builder>... errors) An array of objects, one for each account whose status wasn’t changed. Each object identifies the account and explains why the status of automated sensitive data discovery wasn’t changed for the account. This value is null if the request succeeded for all specified accounts.
This is a convenience method that creates an instance of theAutomatedDiscoveryAccountUpdateError.Builder
avoiding the need to create one manually viaAutomatedDiscoveryAccountUpdateError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrors(List<AutomatedDiscoveryAccountUpdateError>)
.- Parameters:
errors
- a consumer that will call methods onAutomatedDiscoveryAccountUpdateError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-