All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.cdklabs.generative_ai_cdk_constructs.bedrock.Topic Maven / Gradle / Ivy

Go to download

AWS Generative AI CDK Constructs is a library for well-architected generative AI patterns.

The newest version!
package io.github.cdklabs.generative_ai_cdk_constructs.bedrock;

/**
 * (experimental) Defines a topic to deny.
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.104.0 (build e79254c)", date = "2024-11-13T15:10:43.923Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@software.amazon.jsii.Jsii(module = io.github.cdklabs.generative_ai_cdk_constructs.$Module.class, fqn = "@cdklabs/generative-ai-cdk-constructs.bedrock.Topic")
public class Topic extends software.amazon.jsii.JsiiObject {

    protected Topic(final software.amazon.jsii.JsiiObjectRef objRef) {
        super(objRef);
    }

    protected Topic(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
        super(initializationMode);
    }

    static {
        FINANCIAL_ADVICE = software.amazon.jsii.JsiiObject.jsiiStaticGet(io.github.cdklabs.generative_ai_cdk_constructs.bedrock.Topic.class, "FINANCIAL_ADVICE", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.generative_ai_cdk_constructs.bedrock.Topic.class));
        INNOPROPRIATE_CONTENT = software.amazon.jsii.JsiiObject.jsiiStaticGet(io.github.cdklabs.generative_ai_cdk_constructs.bedrock.Topic.class, "INNOPROPRIATE_CONTENT", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.generative_ai_cdk_constructs.bedrock.Topic.class));
        LEGAL_ADVICE = software.amazon.jsii.JsiiObject.jsiiStaticGet(io.github.cdklabs.generative_ai_cdk_constructs.bedrock.Topic.class, "LEGAL_ADVICE", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.generative_ai_cdk_constructs.bedrock.Topic.class));
        MEDICAL_ADVICE = software.amazon.jsii.JsiiObject.jsiiStaticGet(io.github.cdklabs.generative_ai_cdk_constructs.bedrock.Topic.class, "MEDICAL_ADVICE", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.generative_ai_cdk_constructs.bedrock.Topic.class));
        POLITICAL_ADVICE = software.amazon.jsii.JsiiObject.jsiiStaticGet(io.github.cdklabs.generative_ai_cdk_constructs.bedrock.Topic.class, "POLITICAL_ADVICE", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.generative_ai_cdk_constructs.bedrock.Topic.class));
    }

    /**
     * @param props This parameter is required.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    protected Topic(final @org.jetbrains.annotations.NotNull io.github.cdklabs.generative_ai_cdk_constructs.bedrock.CustomTopicProps props) {
        super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
        software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(props, "props is required") });
    }

    /**
     * @param props This parameter is required.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public static @org.jetbrains.annotations.NotNull io.github.cdklabs.generative_ai_cdk_constructs.bedrock.Topic custom(final @org.jetbrains.annotations.NotNull io.github.cdklabs.generative_ai_cdk_constructs.bedrock.CustomTopicProps props) {
        return software.amazon.jsii.JsiiObject.jsiiStaticCall(io.github.cdklabs.generative_ai_cdk_constructs.bedrock.Topic.class, "custom", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.generative_ai_cdk_constructs.bedrock.Topic.class), new Object[] { java.util.Objects.requireNonNull(props, "props is required") });
    }

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public final static io.github.cdklabs.generative_ai_cdk_constructs.bedrock.Topic FINANCIAL_ADVICE;

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public final static io.github.cdklabs.generative_ai_cdk_constructs.bedrock.Topic INNOPROPRIATE_CONTENT;

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public final static io.github.cdklabs.generative_ai_cdk_constructs.bedrock.Topic LEGAL_ADVICE;

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public final static io.github.cdklabs.generative_ai_cdk_constructs.bedrock.Topic MEDICAL_ADVICE;

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public final static io.github.cdklabs.generative_ai_cdk_constructs.bedrock.Topic POLITICAL_ADVICE;

    /**
     * (experimental) Definition of the topic.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public @org.jetbrains.annotations.NotNull java.lang.String getDefinition() {
        return software.amazon.jsii.Kernel.get(this, "definition", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
    }

    /**
     * (experimental) The name of the topic to deny.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public @org.jetbrains.annotations.NotNull java.lang.String getName() {
        return software.amazon.jsii.Kernel.get(this, "name", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
    }

    /**
     * (experimental) Representative phrases that refer to the topic.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public @org.jetbrains.annotations.Nullable java.util.List getExamples() {
        return java.util.Optional.ofNullable((java.util.List)(software.amazon.jsii.Kernel.get(this, "examples", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class))))).map(java.util.Collections::unmodifiableList).orElse(null);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy