Class CfnGuardrail.ContentFilterConfigProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.bedrock.CfnGuardrail.ContentFilterConfigProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnGuardrail.ContentFilterConfigProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnGuardrail.ContentFilterConfigProperty
@Stability(Stable)
@Internal
public static final class CfnGuardrail.ContentFilterConfigProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnGuardrail.ContentFilterConfigProperty
An implementation for
CfnGuardrail.ContentFilterConfigProperty
-
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.ContentFilterConfigProperty
CfnGuardrail.ContentFilterConfigProperty.Builder, CfnGuardrail.ContentFilterConfigProperty.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnGuardrail.ContentFilterConfigProperty.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
final Object
List of modalities.final String
The strength of the content filter to apply to prompts.final String
final Object
List of modalities.final String
The strength of the content filter to apply to model responses.final String
getType()
The harmful category that the content filter is applied to.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.ContentFilterConfigProperty.Builder
.
-
-
Method Details
-
getInputStrength
Description copied from interface:CfnGuardrail.ContentFilterConfigProperty
The strength of the content filter to apply to prompts.As you increase the filter strength, the likelihood of filtering harmful content increases and the probability of seeing harmful content in your application reduces.
- Specified by:
getInputStrength
in interfaceCfnGuardrail.ContentFilterConfigProperty
- See Also:
-
getOutputStrength
Description copied from interface:CfnGuardrail.ContentFilterConfigProperty
The strength of the content filter to apply to model responses.As you increase the filter strength, the likelihood of filtering harmful content increases and the probability of seeing harmful content in your application reduces.
- Specified by:
getOutputStrength
in interfaceCfnGuardrail.ContentFilterConfigProperty
- See Also:
-
getType
Description copied from interface:CfnGuardrail.ContentFilterConfigProperty
The harmful category that the content filter is applied to.- Specified by:
getType
in interfaceCfnGuardrail.ContentFilterConfigProperty
- See Also:
-
getInputAction
- Specified by:
getInputAction
in interfaceCfnGuardrail.ContentFilterConfigProperty
- See Also:
-
getInputEnabled
- Specified by:
getInputEnabled
in interfaceCfnGuardrail.ContentFilterConfigProperty
- See Also:
-
getInputModalities
Description copied from interface:CfnGuardrail.ContentFilterConfigProperty
List of modalities.- Specified by:
getInputModalities
in interfaceCfnGuardrail.ContentFilterConfigProperty
- See Also:
-
getOutputAction
- Specified by:
getOutputAction
in interfaceCfnGuardrail.ContentFilterConfigProperty
- See Also:
-
getOutputEnabled
- Specified by:
getOutputEnabled
in interfaceCfnGuardrail.ContentFilterConfigProperty
- See Also:
-
getOutputModalities
Description copied from interface:CfnGuardrail.ContentFilterConfigProperty
List of modalities.- Specified by:
getOutputModalities
in interfaceCfnGuardrail.ContentFilterConfigProperty
- 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()
-