Record Class NuggetDiscovery.Selector
java.lang.Object
java.lang.Record
org.j7m.middleware.operations.api.NuggetDiscovery.Selector
- Record Components:
type- selector typevalue- exact id, exact name, or endpoint identitycorrelationId- safe audit correlation id
- Enclosing class:
NuggetDiscovery
public static record NuggetDiscovery.Selector(NuggetDiscovery.SelectorType type, String value, String correlationId)
extends Record
Target selector for future CLI and automation use.
-
Constructor Summary
ConstructorsConstructorDescriptionSelector(NuggetDiscovery.SelectorType type, String value, String correlationId) Creates a selector. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecorrelationIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.value()Returns the value of thevaluerecord component.
-
Constructor Details
-
Selector
Creates a selector.
-
-
Method Details
-
toString
-
hashCode
-
equals
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. All components in this record class are compared withObjects::equals(Object,Object). -
type
-
value
-
correlationId
Returns the value of thecorrelationIdrecord component.- Returns:
- the value of the
correlationIdrecord component
-