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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.macie2.model.Macie2Request.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builder
avoiding the need to create one manually viaAutomatedDiscoveryAccountUpdate.builder()
.When the
Consumer
completes,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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-