Class PromptProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.bedrock.alpha.PromptProps.Jsii$Proxy
All Implemented Interfaces:
PromptProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
PromptProps

@Stability(Experimental) @Internal public static final class PromptProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements PromptProps
An implementation for PromptProps
  • 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.PromptProps

    PromptProps.Builder, PromptProps.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the PromptProps.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 Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    (experimental) The Prompt Variant that will be used by default.
    final String
    (experimental) A description of what the prompt does.
    final IKey
    (experimental) The KMS key that the prompt is encrypted with.
    final String
    (experimental) The name of the prompt.
    (experimental) Tags to apply to the prompt.
    (experimental) The variants of your prompt.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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

      protected Jsii$Proxy(PromptProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the PromptProps.Builder.
  • Method Details

    • getPromptName

      public final String getPromptName()
      Description copied from interface: PromptProps
      (experimental) The name of the prompt.

      This will be used as the physical name of the prompt. Allowed Pattern: ^([0-9a-zA-Z][_-]?){1,100}$

      Specified by:
      getPromptName in interface PromptProps
    • getDefaultVariant

      public final IPromptVariant getDefaultVariant()
      Description copied from interface: PromptProps
      (experimental) The Prompt Variant that will be used by default.

      Default: - No default variant provided.

      Specified by:
      getDefaultVariant in interface PromptProps
    • getDescription

      public final String getDescription()
      Description copied from interface: PromptProps
      (experimental) A description of what the prompt does.

      Default: - No description provided. Maximum Length: 200

      Specified by:
      getDescription in interface PromptProps
    • getKmsKey

      public final IKey getKmsKey()
      Description copied from interface: PromptProps
      (experimental) The KMS key that the prompt is encrypted with.

      Default: - AWS owned and managed key.

      Specified by:
      getKmsKey in interface PromptProps
    • getTags

      public final Map<String,String> getTags()
      Description copied from interface: PromptProps
      (experimental) Tags to apply to the prompt.

      Default: - No tags applied.

      Specified by:
      getTags in interface PromptProps
    • getVariants

      public final List<IPromptVariant> getVariants()
      Description copied from interface: PromptProps
      (experimental) The variants of your prompt.

      Variants can use different messages, models, or configurations so that you can compare their outputs to decide the best variant for your use case. Maximum of 1 variants.

      Default: - No additional variants provided.

      Specified by:
      getVariants in interface PromptProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object