Class CustomTopicProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.bedrock.alpha.CustomTopicProps.Jsii$Proxy
- All Implemented Interfaces:
CustomTopicProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CustomTopicProps
@Stability(Experimental)
@Internal
public static final class CustomTopicProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CustomTopicProps
An implementation for
CustomTopicProps
-
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.alpha.CustomTopicProps
CustomTopicProps.Builder, CustomTopicProps.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Jsii$Proxy
(CustomTopicProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCustomTopicProps.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
(experimental) Provide a clear definition to detect and block user inputs and FM responses that fall into this topic.(experimental) Representative phrases that refer to the topic.final GuardrailAction
(experimental) The action to take when a topic is detected in the input.final Boolean
(experimental) Whether the topic filter is enabled for input.final String
getName()
(experimental) The name of the topic to deny.final GuardrailAction
(experimental) The action to take when a topic is detected in the output.final Boolean
(experimental) Whether the topic filter is enabled for output.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 theCustomTopicProps.Builder
.
-
-
Method Details
-
getDefinition
Description copied from interface:CustomTopicProps
(experimental) Provide a clear definition to detect and block user inputs and FM responses that fall into this topic.Avoid starting with "don't".
Example:
"Investment advice refers to inquiries, guidance, or recommendations\nregarding the management or allocation of funds or assets with the goal of\ngenerating returns or achieving specific financial objectives.";
- Specified by:
getDefinition
in interfaceCustomTopicProps
-
getExamples
Description copied from interface:CustomTopicProps
(experimental) Representative phrases that refer to the topic.These phrases can represent a user input or a model response. Add between 1 and 100 phrases, up to 100 characters each.
Example:
"Where should I invest my money?";
- Specified by:
getExamples
in interfaceCustomTopicProps
-
getName
Description copied from interface:CustomTopicProps
(experimental) The name of the topic to deny.- Specified by:
getName
in interfaceCustomTopicProps
-
getInputAction
Description copied from interface:CustomTopicProps
(experimental) The action to take when a topic is detected in the input.Default: GuardrailAction.BLOCK
- Specified by:
getInputAction
in interfaceCustomTopicProps
-
getInputEnabled
Description copied from interface:CustomTopicProps
(experimental) Whether the topic filter is enabled for input.Default: true
- Specified by:
getInputEnabled
in interfaceCustomTopicProps
-
getOutputAction
Description copied from interface:CustomTopicProps
(experimental) The action to take when a topic is detected in the output.Default: GuardrailAction.BLOCK
- Specified by:
getOutputAction
in interfaceCustomTopicProps
-
getOutputEnabled
Description copied from interface:CustomTopicProps
(experimental) Whether the topic filter is enabled for output.Default: true
- Specified by:
getOutputEnabled
in interfaceCustomTopicProps
-
$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()
-