Class CfnGuardrailPropsMixin.RegexConfigProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnGuardrailPropsMixin.RegexConfigProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnGuardrailPropsMixin.RegexConfigProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnGuardrailPropsMixin.RegexConfigProperty
@Stability(Stable)
@Internal
public static final class CfnGuardrailPropsMixin.RegexConfigProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnGuardrailPropsMixin.RegexConfigProperty
An implementation for
CfnGuardrailPropsMixin.RegexConfigProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnGuardrailPropsMixin.RegexConfigProperty
CfnGuardrailPropsMixin.RegexConfigProperty.Builder, CfnGuardrailPropsMixin.RegexConfigProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnGuardrailPropsMixin.RegexConfigProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal StringThe guardrail action to configure when matching regular expression is detected.final StringThe description of the regular expression to configure for the guardrail.final StringSpecifies the action to take when harmful content is detected in the input.final ObjectSpecifies whether to enable guardrail evaluation on the input.final StringgetName()The name of the regular expression to configure for the guardrail.final StringSpecifies the action to take when harmful content is detected in the output.final ObjectSpecifies whether to enable guardrail evaluation on the output.final StringThe regular expression pattern to configure for the guardrail.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnGuardrailPropsMixin.RegexConfigProperty.Builder.
-
-
Method Details
-
getAction
Description copied from interface:CfnGuardrailPropsMixin.RegexConfigPropertyThe guardrail action to configure when matching regular expression is detected.- Specified by:
getActionin interfaceCfnGuardrailPropsMixin.RegexConfigProperty- See Also:
-
getDescription
Description copied from interface:CfnGuardrailPropsMixin.RegexConfigPropertyThe description of the regular expression to configure for the guardrail.- Specified by:
getDescriptionin interfaceCfnGuardrailPropsMixin.RegexConfigProperty- See Also:
-
getInputAction
Description copied from interface:CfnGuardrailPropsMixin.RegexConfigPropertySpecifies the action to take when harmful content is detected in the input. Supported values include:.BLOCK– Block the content and replace it with blocked messaging.NONE– Take no action but return detection information in the trace response.
- Specified by:
getInputActionin interfaceCfnGuardrailPropsMixin.RegexConfigProperty- See Also:
-
getInputEnabled
Description copied from interface:CfnGuardrailPropsMixin.RegexConfigPropertySpecifies whether to enable guardrail evaluation on the input.When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.
Returns union: either
BooleanorIResolvable- Specified by:
getInputEnabledin interfaceCfnGuardrailPropsMixin.RegexConfigProperty- See Also:
-
getName
Description copied from interface:CfnGuardrailPropsMixin.RegexConfigPropertyThe name of the regular expression to configure for the guardrail.- Specified by:
getNamein interfaceCfnGuardrailPropsMixin.RegexConfigProperty- See Also:
-
getOutputAction
Description copied from interface:CfnGuardrailPropsMixin.RegexConfigPropertySpecifies the action to take when harmful content is detected in the output. Supported values include:.BLOCK– Block the content and replace it with blocked messaging.NONE– Take no action but return detection information in the trace response.
- Specified by:
getOutputActionin interfaceCfnGuardrailPropsMixin.RegexConfigProperty- See Also:
-
getOutputEnabled
Description copied from interface:CfnGuardrailPropsMixin.RegexConfigPropertySpecifies whether to enable guardrail evaluation on the output.When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.
Returns union: either
BooleanorIResolvable- Specified by:
getOutputEnabledin interfaceCfnGuardrailPropsMixin.RegexConfigProperty- See Also:
-
getPattern
Description copied from interface:CfnGuardrailPropsMixin.RegexConfigPropertyThe regular expression pattern to configure for the guardrail.- Specified by:
getPatternin interfaceCfnGuardrailPropsMixin.RegexConfigProperty- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-