Class CfnDataProtectionSettingsProps.Builder
java.lang.Object
software.amazon.awscdk.services.workspacesweb.CfnDataProtectionSettingsProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataProtectionSettingsProps>
- Enclosing interface:
CfnDataProtectionSettingsProps
@Stability(Stable)
public static final class CfnDataProtectionSettingsProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataProtectionSettingsProps>
A builder for
CfnDataProtectionSettingsProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadditionalEncryptionContext(Map<String, String> additionalEncryptionContext) Sets the value ofCfnDataProtectionSettingsProps.getAdditionalEncryptionContext()additionalEncryptionContext(IResolvable additionalEncryptionContext) Sets the value ofCfnDataProtectionSettingsProps.getAdditionalEncryptionContext()build()Builds the configured instance.customerManagedKey(String customerManagedKey) Sets the value ofCfnDataProtectionSettingsProps.getCustomerManagedKey()description(String description) Sets the value ofCfnDataProtectionSettingsProps.getDescription()displayName(String displayName) Sets the value ofCfnDataProtectionSettingsProps.getDisplayName()inlineRedactionConfiguration(IResolvable inlineRedactionConfiguration) Sets the value ofCfnDataProtectionSettingsProps.getInlineRedactionConfiguration()inlineRedactionConfiguration(CfnDataProtectionSettings.InlineRedactionConfigurationProperty inlineRedactionConfiguration) Sets the value ofCfnDataProtectionSettingsProps.getInlineRedactionConfiguration()Sets the value ofCfnDataProtectionSettingsProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
additionalEncryptionContext
@Stability(Stable) public CfnDataProtectionSettingsProps.Builder additionalEncryptionContext(Map<String, String> additionalEncryptionContext) Sets the value ofCfnDataProtectionSettingsProps.getAdditionalEncryptionContext()- Parameters:
additionalEncryptionContext- The additional encryption context of the data protection settings.- Returns:
this
-
additionalEncryptionContext
@Stability(Stable) public CfnDataProtectionSettingsProps.Builder additionalEncryptionContext(IResolvable additionalEncryptionContext) Sets the value ofCfnDataProtectionSettingsProps.getAdditionalEncryptionContext()- Parameters:
additionalEncryptionContext- The additional encryption context of the data protection settings.- Returns:
this
-
customerManagedKey
@Stability(Stable) public CfnDataProtectionSettingsProps.Builder customerManagedKey(String customerManagedKey) Sets the value ofCfnDataProtectionSettingsProps.getCustomerManagedKey()- Parameters:
customerManagedKey- The customer managed key used to encrypt sensitive information in the data protection settings.- Returns:
this
-
description
Sets the value ofCfnDataProtectionSettingsProps.getDescription()- Parameters:
description- The description of the data protection settings.- Returns:
this
-
displayName
Sets the value ofCfnDataProtectionSettingsProps.getDisplayName()- Parameters:
displayName- The display name of the data protection settings.- Returns:
this
-
inlineRedactionConfiguration
@Stability(Stable) public CfnDataProtectionSettingsProps.Builder inlineRedactionConfiguration(IResolvable inlineRedactionConfiguration) Sets the value ofCfnDataProtectionSettingsProps.getInlineRedactionConfiguration()- Parameters:
inlineRedactionConfiguration- The inline redaction configuration for the data protection settings.- Returns:
this
-
inlineRedactionConfiguration
@Stability(Stable) public CfnDataProtectionSettingsProps.Builder inlineRedactionConfiguration(CfnDataProtectionSettings.InlineRedactionConfigurationProperty inlineRedactionConfiguration) Sets the value ofCfnDataProtectionSettingsProps.getInlineRedactionConfiguration()- Parameters:
inlineRedactionConfiguration- The inline redaction configuration for the data protection settings.- Returns:
this
-
tags
Sets the value ofCfnDataProtectionSettingsProps.getTags()- Parameters:
tags- The tags of the data protection settings.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataProtectionSettingsProps>- Returns:
- a new instance of
CfnDataProtectionSettingsProps - Throws:
NullPointerException- if any required attribute was not provided
-