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

com.aliyuncs.regions.LocationConfig Maven / Gradle / Ivy

Go to download

Aliyun Open API SDK for Java Copyright (C) Alibaba Cloud Computing All rights reserved. 版权所有 (C)阿里云计算有限公司 http://www.aliyun.com

There is a newer version: 4.7.3
Show newest version
package com.aliyuncs.regions;

public final class LocationConfig {
    private String regionId = "cn-hangzhou";
    private String product  = "Location";
    private String endpoint = "location.aliyuncs.com";

    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;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy