com.ksyun.api.sdk.regions.LocationConfig Maven / Gradle / Ivy
package com.ksyun.api.sdk.regions;
public final class LocationConfig {
public static final String LOCATION_INNER_ENDPOINT = "location.aliyuncs.com";
public static final String LOCATION_INNER_PRODUCT = "Location";
private String regionId = "";
private String product = "";
private String endpoint = "";
private String serviceCode = "";
public LocationConfig() {
super();
}
public LocationConfig(String regionId, String product, String endpoint) {
this.regionId = regionId;
this.product = product;
this.endpoint = endpoint;
}
public synchronized static LocationConfig createLocationConfig(String regionId, String product, String endpoint) {
return new LocationConfig(regionId, product, endpoint);
}
public String getRegionId() {
return regionId;
}
public String getProduct() {
return product;
}
public String getEndpoint() {
return endpoint;
}
public String getServiceCode() {
return serviceCode;
}
public void setServiceCode(String serviceCode) {
this.serviceCode = serviceCode;
}
public void setRegionId(String regionId) {
this.regionId = regionId;
}
public void setProduct(String product) {
this.product = product;
}
public void setEndpoint(String endpoint) {
this.endpoint = endpoint;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy