Class CfnGuardrail.TopicConfigProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.bedrock.CfnGuardrail.TopicConfigProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnGuardrail.TopicConfigProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnGuardrail.TopicConfigProperty
@Stability(Stable)
@Internal
public static final class CfnGuardrail.TopicConfigProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnGuardrail.TopicConfigProperty
An implementation for
CfnGuardrail.TopicConfigProperty-
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.services.bedrock.CfnGuardrail.TopicConfigProperty
CfnGuardrail.TopicConfigProperty.Builder, CfnGuardrail.TopicConfigProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnGuardrail.TopicConfigProperty.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 StringA definition of the topic to deny.A list of prompts, each of which is an example of a prompt that can be categorized as belonging to the topic.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 topic to deny.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 StringgetType()Specifies to deny the topic.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 theCfnGuardrail.TopicConfigProperty.Builder.
-
-
Method Details
-
getDefinition
Description copied from interface:CfnGuardrail.TopicConfigPropertyA definition of the topic to deny.- Specified by:
getDefinitionin interfaceCfnGuardrail.TopicConfigProperty- See Also:
-
getName
Description copied from interface:CfnGuardrail.TopicConfigPropertyThe name of the topic to deny.- Specified by:
getNamein interfaceCfnGuardrail.TopicConfigProperty- See Also:
-
getType
Description copied from interface:CfnGuardrail.TopicConfigPropertySpecifies to deny the topic.- Specified by:
getTypein interfaceCfnGuardrail.TopicConfigProperty- See Also:
-
getExamples
Description copied from interface:CfnGuardrail.TopicConfigPropertyA list of prompts, each of which is an example of a prompt that can be categorized as belonging to the topic.- Specified by:
getExamplesin interfaceCfnGuardrail.TopicConfigProperty- See Also:
-
getInputAction
Description copied from interface:CfnGuardrail.TopicConfigPropertySpecifies 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 interfaceCfnGuardrail.TopicConfigProperty- See Also:
-
getInputEnabled
Description copied from interface:CfnGuardrail.TopicConfigPropertySpecifies 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 interfaceCfnGuardrail.TopicConfigProperty- See Also:
-
getOutputAction
Description copied from interface:CfnGuardrail.TopicConfigPropertySpecifies 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 interfaceCfnGuardrail.TopicConfigProperty- See Also:
-
getOutputEnabled
Description copied from interface:CfnGuardrail.TopicConfigPropertySpecifies 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 interfaceCfnGuardrail.TopicConfigProperty- 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()
-