Interface BatchUpdateAutomatedDiscoveryAccountsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<BatchUpdateAutomatedDiscoveryAccountsRequest.Builder,,BatchUpdateAutomatedDiscoveryAccountsRequest> Macie2Request.Builder,SdkBuilder<BatchUpdateAutomatedDiscoveryAccountsRequest.Builder,,BatchUpdateAutomatedDiscoveryAccountsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
BatchUpdateAutomatedDiscoveryAccountsRequest
-
Method Summary
Modifier and TypeMethodDescriptionaccounts(Collection<AutomatedDiscoveryAccountUpdate> accounts) An array of objects, one for each account to change the status of automated sensitive data discovery for.accounts(Consumer<AutomatedDiscoveryAccountUpdate.Builder>... accounts) An array of objects, one for each account to change the status of automated sensitive data discovery for.accounts(AutomatedDiscoveryAccountUpdate... accounts) An array of objects, one for each account to change the status of automated sensitive data discovery for.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.macie2.model.Macie2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
accounts
BatchUpdateAutomatedDiscoveryAccountsRequest.Builder accounts(Collection<AutomatedDiscoveryAccountUpdate> accounts) An array of objects, one for each account to change the status of automated sensitive data discovery for. Each object specifies the Amazon Web Services account ID for an account and a new status for that account.
- Parameters:
accounts- An array of objects, one for each account to change the status of automated sensitive data discovery for. Each object specifies the Amazon Web Services account ID for an account and a new status for that account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accounts
BatchUpdateAutomatedDiscoveryAccountsRequest.Builder accounts(AutomatedDiscoveryAccountUpdate... accounts) An array of objects, one for each account to change the status of automated sensitive data discovery for. Each object specifies the Amazon Web Services account ID for an account and a new status for that account.
- Parameters:
accounts- An array of objects, one for each account to change the status of automated sensitive data discovery for. Each object specifies the Amazon Web Services account ID for an account and a new status for that account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accounts
BatchUpdateAutomatedDiscoveryAccountsRequest.Builder accounts(Consumer<AutomatedDiscoveryAccountUpdate.Builder>... accounts) An array of objects, one for each account to change the status of automated sensitive data discovery for. Each object specifies the Amazon Web Services account ID for an account and a new status for that account.
This is a convenience method that creates an instance of theAutomatedDiscoveryAccountUpdate.Builderavoiding the need to create one manually viaAutomatedDiscoveryAccountUpdate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccounts(List<AutomatedDiscoveryAccountUpdate>).- Parameters:
accounts- a consumer that will call methods onAutomatedDiscoveryAccountUpdate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
BatchUpdateAutomatedDiscoveryAccountsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
BatchUpdateAutomatedDiscoveryAccountsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-