
org.xlcloud.openstack.model.identity.keystone.KeystoneEndpoint Maven / Gradle / Ivy
The newest version!
/*
* Copyright 2012 AMG.lab, a Bull Group Company
*
* 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 org.xlcloud.openstack.model.identity.keystone;
import java.io.Serializable;
import org.codehaus.jackson.annotate.JsonProperty;
import org.codehaus.jackson.map.annotate.JsonRootName;
import org.xlcloud.openstack.model.identity.Endpoint;
@JsonRootName("endpoint")
public class KeystoneEndpoint implements Endpoint, Serializable {
private String id;
private String region;
@JsonProperty("service_id")
private String serviceId;
@JsonProperty("publicurl")
private String publicURL;
@JsonProperty("adminurl")
private String adminURL;
@JsonProperty("internalurl")
private String internalURL;
public KeystoneEndpoint() {
}
public KeystoneEndpoint(String id, String region, String serviceId) {
this.id = id;
this.region = region;
this.serviceId = serviceId;
}
/* (non-Javadoc)
* @see org.openstack.model.identity.keystone.Endpoint#getId()
*/
@Override
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
/* (non-Javadoc)
* @see org.openstack.model.identity.keystone.Endpoint#getRegion()
*/
@Override
public String getRegion() {
return region;
}
public void setRegion(String region) {
this.region = region;
}
/* (non-Javadoc)
* @see org.openstack.model.identity.keystone.Endpoint#getServiceId()
*/
@Override
public String getServiceId() {
return serviceId;
}
public void setServiceId(String serviceId) {
this.serviceId = serviceId;
}
/* (non-Javadoc)
* @see org.openstack.model.identity.keystone.Endpoint#getPublicURL()
*/
@Override
public String getPublicURL() {
return publicURL;
}
public void setPublicURL(String publicURL) {
this.publicURL = publicURL;
}
/* (non-Javadoc)
* @see org.openstack.model.identity.keystone.Endpoint#getAdminURL()
*/
@Override
public String getAdminURL() {
return adminURL;
}
public void setAdminURL(String adminURL) {
this.adminURL = adminURL;
}
/* (non-Javadoc)
* @see org.openstack.model.identity.keystone.Endpoint#getInternalURL()
*/
@Override
public String getInternalURL() {
return internalURL;
}
public void setInternalURL(String internalURL) {
this.internalURL = internalURL;
}
@Override
public String toString() {
return "KeystoneEndpoint [region=" + region + ", serviceId="
+ serviceId + ", publicURL=" + publicURL + ", adminURL="
+ adminURL + ", internalURL=" + internalURL + "]";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy