Class CfnGuardrailPropsMixin.TopicConfigProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnGuardrailPropsMixin.TopicConfigProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnGuardrailPropsMixin.TopicConfigProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnGuardrailPropsMixin.TopicConfigProperty
@Stability(Stable)
@Internal
public static final class CfnGuardrailPropsMixin.TopicConfigProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnGuardrailPropsMixin.TopicConfigProperty
An implementation for
CfnGuardrailPropsMixin.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.cfnpropertymixins.services.bedrock.CfnGuardrailPropsMixin.TopicConfigProperty
CfnGuardrailPropsMixin.TopicConfigProperty.Builder, CfnGuardrailPropsMixin.TopicConfigProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnGuardrailPropsMixin.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 theCfnGuardrailPropsMixin.TopicConfigProperty.Builder.
-
-
Method Details
-
getDefinition
Description copied from interface:CfnGuardrailPropsMixin.TopicConfigPropertyA definition of the topic to deny.- Specified by:
getDefinitionin interfaceCfnGuardrailPropsMixin.TopicConfigProperty- See Also:
-
getExamples
Description copied from interface:CfnGuardrailPropsMixin.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 interfaceCfnGuardrailPropsMixin.TopicConfigProperty- See Also:
-
getInputAction
Description copied from interface:CfnGuardrailPropsMixin.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 interfaceCfnGuardrailPropsMixin.TopicConfigProperty- See Also:
-
getInputEnabled
Description copied from interface:CfnGuardrailPropsMixin.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 interfaceCfnGuardrailPropsMixin.TopicConfigProperty- See Also:
-
getName
Description copied from interface:CfnGuardrailPropsMixin.TopicConfigPropertyThe name of the topic to deny.- Specified by:
getNamein interfaceCfnGuardrailPropsMixin.TopicConfigProperty- See Also:
-
getOutputAction
Description copied from interface:CfnGuardrailPropsMixin.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 interfaceCfnGuardrailPropsMixin.TopicConfigProperty- See Also:
-
getOutputEnabled
Description copied from interface:CfnGuardrailPropsMixin.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 interfaceCfnGuardrailPropsMixin.TopicConfigProperty- See Also:
-
getType
Description copied from interface:CfnGuardrailPropsMixin.TopicConfigPropertySpecifies to deny the topic.- Specified by:
getTypein interfaceCfnGuardrailPropsMixin.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()
-