Package com.yahoo.config.provision
Class ZoneEndpoint
java.lang.Object
com.yahoo.config.provision.ZoneEndpoint
Settings for a zone endpoint of a deployment.
- Author:
- jonmv
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
static class
A URN allowed to access this (private) endpoint, through aZoneEndpoint.AccessType
method. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ZoneEndpoint
static final int
Endpoint service generation.static final ZoneEndpoint
-
Constructor Summary
ConstructorsConstructorDescriptionZoneEndpoint
(boolean isPublicEndpoint, boolean isPrivateEndpoint, List<ZoneEndpoint.AllowedUrn> allowedUrns) -
Method Summary
Modifier and TypeMethodDescriptionList of allowed URNs, for specified private access types.List of URNs for the given access type.boolean
int
hashCode()
boolean
boolean
Whether this has an endpoint which is visible through private DNS of the cloud.boolean
Whether this has an endpoint which is visible from the public internet.toString()
-
Field Details
-
generation
public static final int generationEndpoint service generation. Bump this to provision new services, whenever we change regional endpoint names. This will cause new endpoint services to be provisioned, with new domain names. TODO: wire multiple service IDs to and through the controller.- See Also:
-
defaultEndpoint
-
privateEndpoint
-
-
Constructor Details
-
ZoneEndpoint
public ZoneEndpoint(boolean isPublicEndpoint, boolean isPrivateEndpoint, List<ZoneEndpoint.AllowedUrn> allowedUrns)
-
-
Method Details
-
isPublicEndpoint
public boolean isPublicEndpoint()Whether this has an endpoint which is visible from the public internet. -
isPrivateEndpoint
public boolean isPrivateEndpoint()Whether this has an endpoint which is visible through private DNS of the cloud. -
allowedUrns
List of allowed URNs, for specified private access types. -
allowedUrnsWith
List of URNs for the given access type. -
isDefault
public boolean isDefault() -
equals
-
hashCode
public int hashCode() -
toString
-