Record Class NuggetIntrospection.ObjectSummary

java.lang.Object
java.lang.Record
org.j7m.middleware.operations.api.NuggetIntrospection.ObjectSummary
Record Components:
nuggetId - nugget id
objectId - object id summary
logicalName - logical name
serviceName - service name
kind - object kind
visibility - visibility category
lifecycleState - object lifecycle state
registrationState - registry state
ownerApplication - owner application id
interfaces - exposed interface names
registryContext - registry context
local - whether object is local to this runtime
endpointSummary - redacted endpoint summary
transportId - transport id
health - health state
readiness - readiness state
leaseExpiryMillis - lease expiry timestamp in milliseconds
generation - object generation
invocationCount - invocation count
failureCount - failure count
lastInvocationTime - last invocation timestamp
lastSafeErrorCode - last safe error code
sensitive - whether metadata was redacted for sensitivity
metadata - redacted metadata
Enclosing class:
NuggetIntrospection

public static record NuggetIntrospection.ObjectSummary(String nuggetId, String objectId, String logicalName, String serviceName, String kind, NuggetIntrospection.ObjectVisibility visibility, String lifecycleState, String registrationState, String ownerApplication, List<String> interfaces, String registryContext, boolean local, String endpointSummary, String transportId, NuggetIntrospection.HealthState health, NuggetIntrospection.ReadinessState readiness, long leaseExpiryMillis, long generation, long invocationCount, long failureCount, Instant lastInvocationTime, String lastSafeErrorCode, boolean sensitive, Map<String,String> metadata) extends Record
Object/service summary projection.
  • Constructor Details

  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • nuggetId

      public String nuggetId()
      Returns the value of the nuggetId record component.
      Returns:
      the value of the nuggetId record component
    • objectId

      public String objectId()
      Returns the value of the objectId record component.
      Returns:
      the value of the objectId record component
    • logicalName

      public String logicalName()
      Returns the value of the logicalName record component.
      Returns:
      the value of the logicalName record component
    • serviceName

      public String serviceName()
      Returns the value of the serviceName record component.
      Returns:
      the value of the serviceName record component
    • kind

      public String kind()
      Returns the value of the kind record component.
      Returns:
      the value of the kind record component
    • visibility

      Returns the value of the visibility record component.
      Returns:
      the value of the visibility record component
    • lifecycleState

      public String lifecycleState()
      Returns the value of the lifecycleState record component.
      Returns:
      the value of the lifecycleState record component
    • registrationState

      public String registrationState()
      Returns the value of the registrationState record component.
      Returns:
      the value of the registrationState record component
    • ownerApplication

      public String ownerApplication()
      Returns the value of the ownerApplication record component.
      Returns:
      the value of the ownerApplication record component
    • interfaces

      public List<String> interfaces()
      Returns the value of the interfaces record component.
      Returns:
      the value of the interfaces record component
    • registryContext

      public String registryContext()
      Returns the value of the registryContext record component.
      Returns:
      the value of the registryContext record component
    • local

      public boolean local()
      Returns the value of the local record component.
      Returns:
      the value of the local record component
    • endpointSummary

      public String endpointSummary()
      Returns the value of the endpointSummary record component.
      Returns:
      the value of the endpointSummary record component
    • transportId

      public String transportId()
      Returns the value of the transportId record component.
      Returns:
      the value of the transportId record component
    • health

      Returns the value of the health record component.
      Returns:
      the value of the health record component
    • readiness

      Returns the value of the readiness record component.
      Returns:
      the value of the readiness record component
    • leaseExpiryMillis

      public long leaseExpiryMillis()
      Returns the value of the leaseExpiryMillis record component.
      Returns:
      the value of the leaseExpiryMillis record component
    • generation

      public long generation()
      Returns the value of the generation record component.
      Returns:
      the value of the generation record component
    • invocationCount

      public long invocationCount()
      Returns the value of the invocationCount record component.
      Returns:
      the value of the invocationCount record component
    • failureCount

      public long failureCount()
      Returns the value of the failureCount record component.
      Returns:
      the value of the failureCount record component
    • lastInvocationTime

      public Instant lastInvocationTime()
      Returns the value of the lastInvocationTime record component.
      Returns:
      the value of the lastInvocationTime record component
    • lastSafeErrorCode

      public String lastSafeErrorCode()
      Returns the value of the lastSafeErrorCode record component.
      Returns:
      the value of the lastSafeErrorCode record component
    • sensitive

      public boolean sensitive()
      Returns the value of the sensitive record component.
      Returns:
      the value of the sensitive record component
    • metadata

      public Map<String,String> metadata()
      Returns the value of the metadata record component.
      Returns:
      the value of the metadata record component