Record Class ServicePortSecureResolver.Input
java.lang.Object
java.lang.Record
org.springframework.cloud.kubernetes.commons.discovery.ServicePortSecureResolver.Input
- Enclosing class:
ServicePortSecureResolver
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.portData()Returns the value of theportDatarecord component.Returns the value of theserviceAnnotationsrecord component.Returns the value of theserviceLabelsrecord component.Returns the value of theserviceNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Input
public Input(ServicePortNameAndNumber portData, String serviceName, Map<String, String> serviceLabels, Map<String, String> serviceAnnotations) Creates an instance of aInputrecord class.- Parameters:
portData- the value for theportDatarecord componentserviceName- the value for theserviceNamerecord componentserviceLabels- the value for theserviceLabelsrecord componentserviceAnnotations- the value for theserviceAnnotationsrecord component
-
-
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). -
portData
Returns the value of theportDatarecord component.- Returns:
- the value of the
portDatarecord component
-
serviceName
Returns the value of theserviceNamerecord component.- Returns:
- the value of the
serviceNamerecord component
-
serviceLabels
-
serviceAnnotations
-