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 enumstatic classA URN allowed to access this (private) endpoint, through aZoneEndpoint.AccessTypemethod. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ZoneEndpointstatic final intEndpoint service generation.static final ZoneEndpoint -
Constructor Summary
ConstructorsConstructorDescriptionZoneEndpoint(boolean isPublicEndpoint, boolean isPrivateEndpoint, List<AuthMethod> authMethods, List<ZoneEndpoint.AllowedUrn> allowedUrns) ZoneEndpoint(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.List of allowed authentication methods for private endpoints.booleaninthashCode()booleanbooleanWhether this has an endpoint which is visible through private DNS of the cloud.booleanWhether this has an endpoint accessible from the public internet, e.g. public IP and DNS records.toString()withAuthMethods(List<AuthMethod> authMethods)
-
Field Details
-
generation
public static final int generationEndpoint service generation.This is used to transition to a new set of endpoint services, with new domain names. The procedure is:
- Start using new endpoint names (in controller code), for all applications.
- Bump the generation counter here; this causes new services to be provisioned.
- Controller configures the new services with the new endpoint names.
- Let users migrate to the new endpoint names.
- Currently missing: clean up obsolete, unused endpoint services.
- See Also:
-
defaultEndpoint
-
privateEndpoint
-
-
Constructor Details
-
ZoneEndpoint
public ZoneEndpoint(boolean isPublicEndpoint, boolean isPrivateEndpoint, List<ZoneEndpoint.AllowedUrn> allowedUrns) -
ZoneEndpoint
public ZoneEndpoint(boolean isPublicEndpoint, boolean isPrivateEndpoint, List<AuthMethod> authMethods, List<ZoneEndpoint.AllowedUrn> allowedUrns)
-
-
Method Details
-
isPublicEndpoint
public boolean isPublicEndpoint()Whether this has an endpoint accessible from the public internet, e.g. public IP and DNS records. -
isPrivateEndpoint
public boolean isPrivateEndpoint()Whether this has an endpoint which is visible through private DNS of the cloud. -
authMethods
List of allowed authentication methods for private endpoints. -
allowedUrns
List of allowed URNs, for specified private access types. -
allowedUrnsWith
List of URNs for the given access type. -
isDefault
public boolean isDefault() -
withAuthMethods
-
equals
-
hashCode
public int hashCode() -
toString
-