Class CfnGuardrailPropsMixin.WordConfigProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnGuardrailPropsMixin.WordConfigProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnGuardrailPropsMixin.WordConfigProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnGuardrailPropsMixin.WordConfigProperty
@Stability(Stable)
@Internal
public static final class CfnGuardrailPropsMixin.WordConfigProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnGuardrailPropsMixin.WordConfigProperty
An implementation for
CfnGuardrailPropsMixin.WordConfigProperty-
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.WordConfigProperty
CfnGuardrailPropsMixin.WordConfigProperty.Builder, CfnGuardrailPropsMixin.WordConfigProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnGuardrailPropsMixin.WordConfigProperty.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 StringSpecifies the action to take when harmful content is detected in the input.final ObjectSpecifies whether to enable guardrail evaluation on the intput.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 StringgetText()Text of the word configured for the guardrail to block.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.WordConfigProperty.Builder.
-
-
Method Details
-
getInputAction
Description copied from interface:CfnGuardrailPropsMixin.WordConfigPropertySpecifies 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.WordConfigProperty- See Also:
-
getInputEnabled
Description copied from interface:CfnGuardrailPropsMixin.WordConfigPropertySpecifies whether to enable guardrail evaluation on the intput.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.WordConfigProperty- See Also:
-
getOutputAction
Description copied from interface:CfnGuardrailPropsMixin.WordConfigPropertySpecifies 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.WordConfigProperty- See Also:
-
getOutputEnabled
Description copied from interface:CfnGuardrailPropsMixin.WordConfigPropertySpecifies 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.WordConfigProperty- See Also:
-
getText
Description copied from interface:CfnGuardrailPropsMixin.WordConfigPropertyText of the word configured for the guardrail to block.- Specified by:
getTextin interfaceCfnGuardrailPropsMixin.WordConfigProperty- 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()
-