Class Endpoint
java.lang.Object
org.jclouds.openstack.keystone.v1_1.domain.Endpoint
- All Implemented Interfaces:
Comparable<Endpoint>
An network-accessible address, usually described by URL, where a service may
be accessed. If using an extension for templates, you can create an endpoint
template, which represents the templates of all the consumable services that
are available across the regions.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Endpoint.Builder
builder()
int
boolean
Internal URLs are only accessible to services within the same region.A public URL is accessible from anywhere.A service may expose endpoints in different regions.int
hashCode()
boolean
The v1Default attribute denotes that an endpoint is being returned in version 1.0 of the Cloud Authentication Service.toString()
-
Field Details
-
v1Default
protected boolean v1Default -
region
-
publicURL
-
internalURL
-
-
Constructor Details
-
Endpoint
protected Endpoint() -
Endpoint
-
-
Method Details
-
builder
-
toBuilder
-
isV1Default
public boolean isV1Default()The v1Default attribute denotes that an endpoint is being returned in version 1.0 of the Cloud Authentication Service. The default value of v1Default is false; clients should assume the value is false when the attribute is missing. Auth 1.0 does not offer support for regional endpoints and therefore only returns one endpoint per service. Resources stored in endpoints where v1Default is false will not be seen by Auth 1.0 clients.- Returns:
- whether this endpoint is visible to v1.0 clients
-
getRegion
A service may expose endpoints in different regions. Regional endpoints allow clients to provision resources in a manner that provides high availability.
Note
Some services are not region-specific. These services supply a single non-regional endpoint and do not provide access to internal URLs.- Returns:
- the region of the endpoint
-
getPublicURL
A public URL is accessible from anywhere. Access to a public URL usually incurs traffic charges.- Returns:
- the public endpoint of the service
-
getInternalURL
Internal URLs are only accessible to services within the same region. Access to an internal URL is free of charge.- Returns:
- the internal url of the endpoint
-
equals
-
hashCode
public int hashCode() -
toString
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Endpoint>
-