Interface BatchUpdateAutomatedDiscoveryAccountsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<BatchUpdateAutomatedDiscoveryAccountsRequest.Builder,BatchUpdateAutomatedDiscoveryAccountsRequest>,Macie2Request.Builder,SdkBuilder<BatchUpdateAutomatedDiscoveryAccountsRequest.Builder,BatchUpdateAutomatedDiscoveryAccountsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- BatchUpdateAutomatedDiscoveryAccountsRequest
public static interface BatchUpdateAutomatedDiscoveryAccountsRequest.Builder extends Macie2Request.Builder, SdkPojo, CopyableBuilder<BatchUpdateAutomatedDiscoveryAccountsRequest.Builder,BatchUpdateAutomatedDiscoveryAccountsRequest>
-
-
Method Summary
-
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 Detail
-
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 to#accounts(List.) - 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:
#accounts(java.util.Collection)
-
overrideConfiguration
BatchUpdateAutomatedDiscoveryAccountsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
BatchUpdateAutomatedDiscoveryAccountsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-