org.jclouds.openstack.keystone.v2_0.domain
Class Endpoint
java.lang.Object
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:
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)
builder
public static Endpoint.Builder<?> builder()
toBuilder
public Endpoint.Builder<?> toBuilder()
getVersionId
@Nullable
public String getVersionId()
- When providing an ID, it is assumed that the endpoint exists in the current OpenStack
deployment
- Returns:
- the versionId of the endpoint in the current OpenStack deployment, or null if not specified
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()
getVersionList
@Nullable
public URI getVersionList()
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-2012 jclouds. All Rights Reserved.