org.jclouds.openstack.keystone.v2_0.domain
Class Endpoint

java.lang.Object
  extended by org.jclouds.openstack.keystone.v2_0.domain.Endpoint

public class Endpoint
extends Object

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.

Author:
AdrianCole
See Also:

Nested Class Summary
static class Endpoint.Builder<T extends Endpoint.Builder<T>>
           
 
Constructor Summary
protected Endpoint(String id, String versionId, String region, URI publicURL, URI internalURL, URI adminURL, URI versionInfo, URI versionList, String tenantName, String tenantId)
           
 
Method Summary
static Endpoint.Builder<?> builder()
           
 boolean equals(Object obj)
           
 URI getAdminURL()
           
 String getId()
          When providing an ID, it is assumed that the endpoint exists in the current OpenStack deployment
 URI getInternalURL()
           
 URI getPublicURL()
           
 String getRegion()
           
 String getTenantId()
           
 String getVersionId()
          Note
 URI getVersionInfo()
          Note
 URI getVersionList()
          Note
 int hashCode()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 Endpoint.Builder<?> toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Endpoint

@ConstructorProperties(value={"id","versionId","region","publicURL","internalURL","adminURL","versionInfo","versionList","tenantName","tenantId"})
protected Endpoint(@Nullable
                                              String id,
                                              @Nullable
                                              String versionId,
                                              @Nullable
                                              String region,
                                              @Nullable
                                              URI publicURL,
                                              @Nullable
                                              URI internalURL,
                                              @Nullable
                                              URI adminURL,
                                              @Nullable
                                              URI versionInfo,
                                              @Nullable
                                              URI versionList,
                                              @Nullable
                                              String tenantName,
                                              @Nullable
                                              String tenantId)
Method Detail

builder

public static Endpoint.Builder<?> builder()

toBuilder

public Endpoint.Builder<?> toBuilder()

getId

@Nullable
public String getId()
When providing an ID, it is assumed that the endpoint exists in the current OpenStack deployment

Returns:
the id of the endpoint in the current OpenStack deployment, or null if not specified

getVersionId

@Nullable
public String getVersionId()

Note

This is not defined in KeyStone, rather only in Rackspace


getRegion

@Nullable
public String getRegion()
Returns:
the region of the endpoint, or null if not specified

getPublicURL

@Nullable
public URI getPublicURL()
Returns:
the public url of the endpoint

getInternalURL

@Nullable
public URI getInternalURL()
Returns:
the internal url of the endpoint

getAdminURL

@Nullable
public URI getAdminURL()
Returns:
the admin url of the endpoint

getVersionInfo

@Nullable
public URI getVersionInfo()

Note

This is not defined in KeyStone, rather only in Rackspace


getVersionList

@Nullable
public URI getVersionList()

Note

This is not defined in KeyStone, rather only in Rackspace


getTenantId

@Nullable
public String getTenantId()
Returns:
the tenant versionId of the endpoint or null

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

string

protected com.google.common.base.Objects.ToStringHelper string()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.