Class CfnDataProtectionSettingsPropsMixin.RedactionPlaceHolderProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.workspacesweb.CfnDataProtectionSettingsPropsMixin.RedactionPlaceHolderProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataProtectionSettingsPropsMixin.RedactionPlaceHolderProperty>
- Enclosing interface:
CfnDataProtectionSettingsPropsMixin.RedactionPlaceHolderProperty
@Stability(Stable)
public static final class CfnDataProtectionSettingsPropsMixin.RedactionPlaceHolderProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataProtectionSettingsPropsMixin.RedactionPlaceHolderProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.redactionPlaceHolderText(String redactionPlaceHolderText) redactionPlaceHolderType(String redactionPlaceHolderType)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
redactionPlaceHolderText
@Stability(Stable) public CfnDataProtectionSettingsPropsMixin.RedactionPlaceHolderProperty.Builder redactionPlaceHolderText(String redactionPlaceHolderText) Sets the value ofCfnDataProtectionSettingsPropsMixin.RedactionPlaceHolderProperty.getRedactionPlaceHolderText()- Parameters:
redactionPlaceHolderText- The redaction placeholder text that will replace the redacted text in session for the custom text redaction placeholder type.- Returns:
this
-
redactionPlaceHolderType
@Stability(Stable) public CfnDataProtectionSettingsPropsMixin.RedactionPlaceHolderProperty.Builder redactionPlaceHolderType(String redactionPlaceHolderType) Sets the value ofCfnDataProtectionSettingsPropsMixin.RedactionPlaceHolderProperty.getRedactionPlaceHolderType()- Parameters:
redactionPlaceHolderType- The redaction placeholder type that will replace the redacted text in session.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataProtectionSettingsPropsMixin.RedactionPlaceHolderProperty>- Returns:
- a new instance of
CfnDataProtectionSettingsPropsMixin.RedactionPlaceHolderProperty - Throws:
NullPointerException- if any required attribute was not provided
-