public class Endpoint extends Object implements Comparable<Endpoint>
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
Endpoint.Builder  | 
| Modifier and Type | Field and Description | 
|---|---|
protected URI | 
internalURL  | 
protected URI | 
publicURL  | 
protected String | 
region  | 
protected boolean | 
v1Default  | 
| Modifier | Constructor and Description | 
|---|---|
protected  | 
Endpoint()  | 
protected  | 
Endpoint(boolean v1Default,
        String region,
        URI publicURL,
        URI internalURL)  | 
| Modifier and Type | Method and Description | 
|---|---|
static Endpoint.Builder | 
builder()  | 
int | 
compareTo(Endpoint that)  | 
boolean | 
equals(Object object)  | 
URI | 
getInternalURL()
Internal URLs are only accessible to services within the same region. 
 | 
URI | 
getPublicURL()
A public URL is accessible from anywhere. 
 | 
String | 
getRegion()
A service may expose endpoints in different regions. 
 | 
int | 
hashCode()  | 
boolean | 
isV1Default()
The v1Default attribute denotes that an endpoint is being returned in
 version 1.0 of the Cloud Authentication Service. 
 | 
Endpoint.Builder | 
toBuilder()  | 
String | 
toString()  | 
protected boolean v1Default
protected String region
protected URI publicURL
protected URI internalURL
public static Endpoint.Builder builder()
public Endpoint.Builder toBuilder()
public boolean isV1Default()
@Nullable public String getRegion()
@Nullable public URI getPublicURL()
@Nullable public URI getInternalURL()
public int compareTo(Endpoint that)
compareTo in interface Comparable<Endpoint>Copyright © 2009-2013 jclouds. All Rights Reserved.