Class NumericalRatingOption.Jsii$Proxy

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

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

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

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the NumericalRatingOption.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
     
    final String
    The description that explains what this numerical rating represents.
    final String
    The label for this rating option.
    final Number
    The numerical value for this rating scale option.
    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(NumericalRatingOption.Builder builder)
      Constructor that initializes the object based on literal property values passed by the NumericalRatingOption.Builder.
  • Method Details

    • getDefinition

      public final String getDefinition()
      Description copied from interface: NumericalRatingOption
      The description that explains what this numerical rating represents.

      Example:

       "The response is comprehensive, accurate, and well-structured.";
       
      Specified by:
      getDefinition in interface NumericalRatingOption
    • getLabel

      public final String getLabel()
      Description copied from interface: NumericalRatingOption
      The label for this rating option.

      Example:

       "Excellent";
       
      Specified by:
      getLabel in interface NumericalRatingOption
    • getValue

      public final Number getValue()
      Description copied from interface: NumericalRatingOption
      The numerical value for this rating scale option.

      Example:

       5;
       
      Specified by:
      getValue in interface NumericalRatingOption
    • $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