All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.huawei.openstack4j.model.identity.v2.Endpoint Maven / Gradle / Ivy

/*******************************************************************************
 * 	Copyright 2016 ContainX and OpenStack4j                                          
 * 	                                                                                 
 * 	Licensed under the Apache License, Version 2.0 (the "License"); you may not      
 * 	use this file except in compliance with the License. You may obtain a copy of    
 * 	the License at                                                                   
 * 	                                                                                 
 * 	    http://www.apache.org/licenses/LICENSE-2.0                                   
 * 	                                                                                 
 * 	Unless required by applicable law or agreed to in writing, software              
 * 	distributed under the License is distributed on an "AS IS" BASIS, WITHOUT        
 * 	WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the         
 * 	License for the specific language governing permissions and limitations under    
 * 	the License.                                                                     
 *******************************************************************************/
package com.huawei.openstack4j.model.identity.v2;

import java.net.URI;

import com.huawei.openstack4j.common.Buildable;
import com.huawei.openstack4j.model.ModelEntity;
import com.huawei.openstack4j.model.identity.v2.builder.EndpointBuilder;

/**
 * Endpoint Model is used to describe a network address which is described by URL's and other service
 * information depending on the context it was retrieved in.
 * 
 * @author Jeremy Unruh
 * 
 * @see  {

	String getType();

	/**
	 * @return the id for this endpoint (null if a new endpoint is being created)
	 */
	String getId();

	/**
	 * @return the name of this endpoint, or null when the endpoint is part of the Access ServiceCatalog
	 */
	String getName();

	/**
	 * @return the admin URL for this endpoint, or null when the endpoint is part of the Access ServiceCatalog
	 */
	URI getAdminURL();

	/**
	 * @return the URL for this endpoint
	 */
	URI getPublicURL();
	
	/**
	 * @return the internal URL for this endpoint
	 */
	URI getInternalURL();
	
	/**
   * @return the region of the endpoint or null
   */
	String getRegion();
	
	/**
	 * @return the tenant identifier for this endpoint or null
	 */
	String getTenantId();
	
	/**
	 * @return the version id or null
	 */
	String getVersionId();
	
	/**
	 * @return the version information when endpoint is listed as part of Access Service Catalog, otherwise null
	 */
	URI getVersionInfo();
	
	/**
	 * @return the version list when endpoint is listed as part of Access Service Catalog, otherwise null
	 */
	URI getVersionList();
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy