Package com.yahoo.config.provision
Record Class EndpointsChecker.Endpoint
java.lang.Object
java.lang.Record
com.yahoo.config.provision.EndpointsChecker.Endpoint
- Enclosing interface:
- EndpointsChecker
public static record EndpointsChecker.Endpoint(ApplicationId applicationId, ClusterSpec.Id clusterName, ai.vespa.http.HttpURL url, Optional<InetAddress> ipAddress, Optional<ai.vespa.http.DomainName> canonicalName, boolean isPublic, CloudAccount account)
extends Record
-
Constructor Summary
ConstructorDescriptionEndpoint
(ApplicationId applicationId, ClusterSpec.Id clusterName, ai.vespa.http.HttpURL url, Optional<InetAddress> ipAddress, Optional<ai.vespa.http.DomainName> canonicalName, boolean isPublic, CloudAccount account) Creates an instance of aEndpoint
record class. -
Method Summary
Modifier and TypeMethodDescriptionaccount()
Returns the value of theaccount
record component.Returns the value of theapplicationId
record component.Optional<ai.vespa.http.DomainName>
Returns the value of thecanonicalName
record component.Returns the value of theclusterName
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.Returns the value of theipAddress
record component.boolean
isPublic()
Returns the value of theisPublic
record component.final String
toString()
Returns a string representation of this record class.ai.vespa.http.HttpURL
url()
Returns the value of theurl
record component.
-
Constructor Details
-
Endpoint
public Endpoint(ApplicationId applicationId, ClusterSpec.Id clusterName, ai.vespa.http.HttpURL url, Optional<InetAddress> ipAddress, Optional<ai.vespa.http.DomainName> canonicalName, boolean isPublic, CloudAccount account) Creates an instance of aEndpoint
record class.- Parameters:
applicationId
- the value for theapplicationId
record componentclusterName
- the value for theclusterName
record componenturl
- the value for theurl
record componentipAddress
- the value for theipAddress
record componentcanonicalName
- the value for thecanonicalName
record componentisPublic
- the value for theisPublic
record componentaccount
- the value for theaccount
record component
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
applicationId
Returns the value of theapplicationId
record component.- Returns:
- the value of the
applicationId
record component
-
clusterName
Returns the value of theclusterName
record component.- Returns:
- the value of the
clusterName
record component
-
url
public ai.vespa.http.HttpURL url()Returns the value of theurl
record component.- Returns:
- the value of the
url
record component
-
ipAddress
Returns the value of theipAddress
record component.- Returns:
- the value of the
ipAddress
record component
-
canonicalName
Returns the value of thecanonicalName
record component.- Returns:
- the value of the
canonicalName
record component
-
isPublic
public boolean isPublic()Returns the value of theisPublic
record component.- Returns:
- the value of the
isPublic
record component
-
account
Returns the value of theaccount
record component.- Returns:
- the value of the
account
record component
-