Package com.yahoo.config.provision
Record Class LoadBalancerSettings
java.lang.Object
java.lang.Record
com.yahoo.config.provision.LoadBalancerSettings
Settings for a load balancer provisioned for an application container cluster.
- Author:
- jonmv
-
Field Summary
-
Constructor Summary
ConstructorDescriptionLoadBalancerSettings
(List<String> allowedUrns) Creates an instance of aLoadBalancerSettings
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theallowedUrns
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.boolean
isEmpty()
final String
toString()
Returns a string representation of this record class.
-
Field Details
-
empty
-
-
Constructor Details
-
LoadBalancerSettings
Creates an instance of aLoadBalancerSettings
record class.- Parameters:
allowedUrns
- the value for theallowedUrns
record component
-
-
Method Details
-
isEmpty
public boolean isEmpty() -
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. -
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. -
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)
. -
allowedUrns
Returns the value of theallowedUrns
record component.- Returns:
- the value of the
allowedUrns
record component
-