Class CfnGuardrail.WordConfigProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.bedrock.CfnGuardrail.WordConfigProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnGuardrail.WordConfigProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnGuardrail.WordConfigProperty
@Stability(Stable)
@Internal
public static final class CfnGuardrail.WordConfigProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnGuardrail.WordConfigProperty
An implementation for
CfnGuardrail.WordConfigProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.bedrock.CfnGuardrail.WordConfigProperty
CfnGuardrail.WordConfigProperty.Builder, CfnGuardrail.WordConfigProperty.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnGuardrail.WordConfigProperty.Builder
.protected
Jsii$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.JsonNode
final boolean
final String
Specifies the action to take when harmful content is detected in the input.final Object
Specifies whether to enable guardrail evaluation on the intput.final String
Specifies the action to take when harmful content is detected in the output.final Object
Specifies whether to enable guardrail evaluation on the output.final String
getText()
Text of the word configured for the guardrail to block.final int
hashCode()
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 theCfnGuardrail.WordConfigProperty.Builder
.
-
-
Method Details
-
getText
Description copied from interface:CfnGuardrail.WordConfigProperty
Text of the word configured for the guardrail to block.- Specified by:
getText
in interfaceCfnGuardrail.WordConfigProperty
- See Also:
-
getInputAction
Description copied from interface:CfnGuardrail.WordConfigProperty
Specifies 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:
getInputAction
in interfaceCfnGuardrail.WordConfigProperty
- See Also:
-
getInputEnabled
Description copied from interface:CfnGuardrail.WordConfigProperty
Specifies 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.
- Specified by:
getInputEnabled
in interfaceCfnGuardrail.WordConfigProperty
- See Also:
-
getOutputAction
Description copied from interface:CfnGuardrail.WordConfigProperty
Specifies 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:
getOutputAction
in interfaceCfnGuardrail.WordConfigProperty
- See Also:
-
getOutputEnabled
Description copied from interface:CfnGuardrail.WordConfigProperty
Specifies 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.
- Specified by:
getOutputEnabled
in interfaceCfnGuardrail.WordConfigProperty
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-