Interface UpdateRevealConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateRevealConfigurationResponse.Builder,
,UpdateRevealConfigurationResponse> Macie2Response.Builder
,SdkBuilder<UpdateRevealConfigurationResponse.Builder,
,UpdateRevealConfigurationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateRevealConfigurationResponse
public static interface UpdateRevealConfigurationResponse.Builder
extends Macie2Response.Builder, SdkPojo, CopyableBuilder<UpdateRevealConfigurationResponse.Builder,UpdateRevealConfigurationResponse>
-
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.retrievalConfiguration
(Consumer<RetrievalConfiguration.Builder> retrievalConfiguration) The access method and settings to use when retrieving the sensitive data.retrievalConfiguration
(RetrievalConfiguration retrievalConfiguration) The access method and settings to use when retrieving the sensitive data.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 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 UpdateRevealConfigurationResponse.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
UpdateRevealConfigurationResponse.Builder retrievalConfiguration(RetrievalConfiguration 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 UpdateRevealConfigurationResponse.Builder retrievalConfiguration(Consumer<RetrievalConfiguration.Builder> retrievalConfiguration) The access method and settings to use when retrieving the sensitive data.
This is a convenience method that creates an instance of theRetrievalConfiguration.Builder
avoiding the need to create one manually viaRetrievalConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toretrievalConfiguration(RetrievalConfiguration)
.- Parameters:
retrievalConfiguration
- a consumer that will call methods onRetrievalConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-