Class StatusCause.Jsii$Proxy

  • All Implemented Interfaces:
    StatusCause, software.amazon.jsii.JsiiSerializable
    Enclosing interface:
    StatusCause

    @Stability(Stable)
    @Internal
    public static final class StatusCause.Jsii$Proxy
    extends software.amazon.jsii.JsiiObject
    implements StatusCause
    An implementation for StatusCause
    • Nested Class Summary

      • Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

        software.amazon.jsii.JsiiObject.InitializationMode
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Jsii$Proxy​(StatusCause.Builder builder)
      Constructor that initializes the object based on literal property values passed by the StatusCause.Builder.
      protected Jsii$Proxy​(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
    • Constructor Detail

      • 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.
    • Method Detail

      • getField

        public final String getField()
        Description copied from interface: StatusCause
        The field of the resource that has caused this error, as named by its JSON serialization.

        May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional.

        Examples: "name" - the field "name" on the current resource "items[0].name" - the field "name" on the first array entry in "items"

        Specified by:
        getField in interface StatusCause
      • getMessage

        public final String getMessage()
        Description copied from interface: StatusCause
        A human-readable description of the cause of the error.

        This field may be presented as-is to a reader.

        Specified by:
        getMessage in interface StatusCause
      • getReason

        public final String getReason()
        Description copied from interface: StatusCause
        A machine-readable description of the cause of the error.

        If this value is empty there is no information available.

        Specified by:
        getReason in interface StatusCause
      • $jsii$toJson

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

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