Interface BatchUpdateAutomatedDiscoveryAccountsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchUpdateAutomatedDiscoveryAccountsResponse.Builder,BatchUpdateAutomatedDiscoveryAccountsResponse>,Macie2Response.Builder,SdkBuilder<BatchUpdateAutomatedDiscoveryAccountsResponse.Builder,BatchUpdateAutomatedDiscoveryAccountsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- BatchUpdateAutomatedDiscoveryAccountsResponse
public static interface BatchUpdateAutomatedDiscoveryAccountsResponse.Builder extends Macie2Response.Builder, SdkPojo, CopyableBuilder<BatchUpdateAutomatedDiscoveryAccountsResponse.Builder,BatchUpdateAutomatedDiscoveryAccountsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchUpdateAutomatedDiscoveryAccountsResponse.Buildererrors(Collection<AutomatedDiscoveryAccountUpdateError> errors)An array of objects, one for each account whose status wasn’t changed.BatchUpdateAutomatedDiscoveryAccountsResponse.Buildererrors(Consumer<AutomatedDiscoveryAccountUpdateError.Builder>... errors)An array of objects, one for each account whose status wasn’t changed.BatchUpdateAutomatedDiscoveryAccountsResponse.Buildererrors(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 Detail
-
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.Builderavoiding the need to create one manually viaAutomatedDiscoveryAccountUpdateError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#errors(List.) - 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:
#errors(java.util.Collection)
-
-