Interface UpdateRevealConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateRevealConfigurationRequest.Builder,
,UpdateRevealConfigurationRequest> Macie2Request.Builder
,SdkBuilder<UpdateRevealConfigurationRequest.Builder,
,UpdateRevealConfigurationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateRevealConfigurationRequest
@Mutable
@NotThreadSafe
public static interface UpdateRevealConfigurationRequest.Builder
extends Macie2Request.Builder, SdkPojo, CopyableBuilder<UpdateRevealConfigurationRequest.Builder,UpdateRevealConfigurationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionconfiguration
(Consumer<RevealConfiguration.Builder> configuration) The KMS key to use to encrypt the sensitive data, and the status of the configuration for the Amazon Macie account.configuration
(RevealConfiguration configuration) The KMS key to use to encrypt the sensitive data, and the status of the configuration for the Amazon Macie account.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.retrievalConfiguration
(Consumer<UpdateRetrievalConfiguration.Builder> retrievalConfiguration) The access method and settings to use when retrieving the sensitive data.retrievalConfiguration
(UpdateRetrievalConfiguration retrievalConfiguration) The access method and settings to use when retrieving the sensitive data.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
-
configuration
The KMS key to use to encrypt the sensitive data, and the status of the configuration for the Amazon Macie account.
- Parameters:
configuration
- The KMS key to use to encrypt the sensitive data, and the status of the configuration for the Amazon Macie account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default UpdateRevealConfigurationRequest.Builder configuration(Consumer<RevealConfiguration.Builder> configuration) The KMS key to use to encrypt the sensitive data, and the status of the configuration for the Amazon Macie account.
This is a convenience method that creates an instance of theRevealConfiguration.Builder
avoiding the need to create one manually viaRevealConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfiguration(RevealConfiguration)
.- Parameters:
configuration
- a consumer that will call methods onRevealConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
retrievalConfiguration
UpdateRevealConfigurationRequest.Builder retrievalConfiguration(UpdateRetrievalConfiguration retrievalConfiguration) The access method and settings to use when retrieving the sensitive data.
- Parameters:
retrievalConfiguration
- The access method and settings to use when retrieving the sensitive data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retrievalConfiguration
default UpdateRevealConfigurationRequest.Builder retrievalConfiguration(Consumer<UpdateRetrievalConfiguration.Builder> retrievalConfiguration) The access method and settings to use when retrieving the sensitive data.
This is a convenience method that creates an instance of theUpdateRetrievalConfiguration.Builder
avoiding the need to create one manually viaUpdateRetrievalConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toretrievalConfiguration(UpdateRetrievalConfiguration)
.- Parameters:
retrievalConfiguration
- a consumer that will call methods onUpdateRetrievalConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateRevealConfigurationRequest.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
UpdateRevealConfigurationRequest.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.
-