io.github.cdklabs.generative_ai_cdk_constructs.bedrock.Topic Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of generative-ai-cdk-constructs Show documentation
Show all versions of generative-ai-cdk-constructs Show documentation
AWS Generative AI CDK Constructs is a library for well-architected generative AI patterns.
package io.github.cdklabs.generative_ai_cdk_constructs.bedrock;
/**
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.103.1 (build bef2dea)", date = "2024-09-23T22:27:31.983Z")
@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.constructs.Construct {
protected Topic(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected Topic(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
/**
* @param scope This parameter is required.
* @param id This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Topic(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull java.lang.String id) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(id, "id is required") });
}
/**
* @param props This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public void createTopic(final @org.jetbrains.annotations.NotNull io.github.cdklabs.generative_ai_cdk_constructs.bedrock.TopicProps props) {
software.amazon.jsii.Kernel.call(this, "createTopic", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(props, "props is required") });
}
/**
* @param props
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public void financialAdviceTopic(final @org.jetbrains.annotations.Nullable io.github.cdklabs.generative_ai_cdk_constructs.bedrock.TopicProps props) {
software.amazon.jsii.Kernel.call(this, "financialAdviceTopic", software.amazon.jsii.NativeType.VOID, new Object[] { props });
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public void financialAdviceTopic() {
software.amazon.jsii.Kernel.call(this, "financialAdviceTopic", software.amazon.jsii.NativeType.VOID);
}
/**
* @param props
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public void inappropriateContent(final @org.jetbrains.annotations.Nullable io.github.cdklabs.generative_ai_cdk_constructs.bedrock.TopicProps props) {
software.amazon.jsii.Kernel.call(this, "inappropriateContent", software.amazon.jsii.NativeType.VOID, new Object[] { props });
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public void inappropriateContent() {
software.amazon.jsii.Kernel.call(this, "inappropriateContent", software.amazon.jsii.NativeType.VOID);
}
/**
* @param props
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public void legalAdvice(final @org.jetbrains.annotations.Nullable io.github.cdklabs.generative_ai_cdk_constructs.bedrock.TopicProps props) {
software.amazon.jsii.Kernel.call(this, "legalAdvice", software.amazon.jsii.NativeType.VOID, new Object[] { props });
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public void legalAdvice() {
software.amazon.jsii.Kernel.call(this, "legalAdvice", software.amazon.jsii.NativeType.VOID);
}
/**
* @param props
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public void medicalAdvice(final @org.jetbrains.annotations.Nullable io.github.cdklabs.generative_ai_cdk_constructs.bedrock.TopicProps props) {
software.amazon.jsii.Kernel.call(this, "medicalAdvice", software.amazon.jsii.NativeType.VOID, new Object[] { props });
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public void medicalAdvice() {
software.amazon.jsii.Kernel.call(this, "medicalAdvice", software.amazon.jsii.NativeType.VOID);
}
/**
* @param props
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public void politicalAdviceTopic(final @org.jetbrains.annotations.Nullable io.github.cdklabs.generative_ai_cdk_constructs.bedrock.TopicProps props) {
software.amazon.jsii.Kernel.call(this, "politicalAdviceTopic", software.amazon.jsii.NativeType.VOID, new Object[] { props });
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public void politicalAdviceTopic() {
software.amazon.jsii.Kernel.call(this, "politicalAdviceTopic", software.amazon.jsii.NativeType.VOID);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public @org.jetbrains.annotations.NotNull java.util.List topicConfigPropertyList() {
return java.util.Collections.unmodifiableList(software.amazon.jsii.Kernel.call(this, "topicConfigPropertyList", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.bedrock.CfnGuardrail.TopicConfigProperty.class))));
}
}