com.aliyuncs.v5.endpoint.ResolveEndpointRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aliyun-java-sdk-core-v5 Show documentation
Show all versions of aliyun-java-sdk-core-v5 Show documentation
Aliyun Open API SDK for Java
Copyright (C) Alibaba Cloud Computing
All rights reserved.
版权所有 (C)阿里云计算有限公司
http://www.aliyun.com
The newest version!
package com.aliyuncs.v5.endpoint;
import java.util.HashMap;
public class ResolveEndpointRequest {
public static final String ENDPOINT_TYPE_INNER = "innerAPI";
public static final String ENDPOINT_TYPE_OPEN = "openAPI";
public String productCode = null;
public String regionId = null;
public String endpointType = null;
public String locationServiceCode = null;
public String productCodeLower = null;
public HashMap productEndpointMap = null;
public String productEndpointRegional = null;
public String productNetwork = "public";
public String productSuffix = "";
public ResolveEndpointRequest(String regionId, String productCode,
String locationServiceCode, String endpointType) {
this.regionId = regionId;
this.productCode = productCode;
this.productCodeLower = productCode.toLowerCase();
if (endpointType == null || endpointType.length() == 0) {
endpointType = ENDPOINT_TYPE_OPEN;
}
this.endpointType = endpointType;
this.locationServiceCode = locationServiceCode;
}
public boolean isOpenApiEndpoint() {
return ENDPOINT_TYPE_OPEN.equals(endpointType);
}
public void setProductEndpointMap(HashMap productEndpointMap) {
this.productEndpointMap = productEndpointMap;
}
public void setProductEndpointRegional(String productEndpointRegional) {
this.productEndpointRegional = productEndpointRegional;
}
public void setProductNetwork(String productNetwork) {
this.productNetwork = productNetwork;
}
public void setProductSuffix(String suffix) {
this.productSuffix = suffix;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy