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
ConstructorsConstructorDescriptionEndpoint(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 aEndpointrecord class. -
Method Summary
Modifier and TypeMethodDescriptionaccount()Returns the value of theaccountrecord component.Returns the value of theapplicationIdrecord component.Optional<ai.vespa.http.DomainName>Returns the value of thecanonicalNamerecord component.Returns the value of theclusterNamerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theipAddressrecord component.booleanisPublic()Returns the value of theisPublicrecord component.final StringtoString()Returns a string representation of this record class.ai.vespa.http.HttpURLurl()Returns the value of theurlrecord 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 aEndpointrecord class.- Parameters:
applicationId- the value for theapplicationIdrecord componentclusterName- the value for theclusterNamerecord componenturl- the value for theurlrecord componentipAddress- the value for theipAddressrecord componentcanonicalName- the value for thecanonicalNamerecord componentisPublic- the value for theisPublicrecord componentaccount- the value for theaccountrecord 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 theapplicationIdrecord component.- Returns:
- the value of the
applicationIdrecord component
-
clusterName
Returns the value of theclusterNamerecord component.- Returns:
- the value of the
clusterNamerecord component
-
url
public ai.vespa.http.HttpURL url()Returns the value of theurlrecord component.- Returns:
- the value of the
urlrecord component
-
ipAddress
Returns the value of theipAddressrecord component.- Returns:
- the value of the
ipAddressrecord component
-
canonicalName
Returns the value of thecanonicalNamerecord component.- Returns:
- the value of the
canonicalNamerecord component
-
isPublic
public boolean isPublic()Returns the value of theisPublicrecord component.- Returns:
- the value of the
isPublicrecord component
-
account
Returns the value of theaccountrecord component.- Returns:
- the value of the
accountrecord component
-