com.aliyun.sas20181203.models.ListCloudVendorRegionsResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sas20181203 Show documentation
Show all versions of sas20181203 Show documentation
Alibaba Cloud Threat Detection (20181203) SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sas20181203.models;
import com.aliyun.tea.*;
public class ListCloudVendorRegionsResponseBody extends TeaModel {
/**
* The return code.
*
* example:
* 200
*/
@NameInMap("Code")
public String code;
/**
* The total number of returned entries.
*
* example:
* 2
*/
@NameInMap("Count")
public Integer count;
/**
* The regions that the service provider supports.
*/
@NameInMap("Data")
public java.util.List data;
/**
* The HTTP status code returned.
*
* example:
* 200
*/
@NameInMap("HttpStatusCode")
public Integer httpStatusCode;
/**
* The error message returned.
*
* example:
* successful
*/
@NameInMap("Message")
public String message;
/**
* The request ID.
*
* example:
* C87EC6AD-4590-5546-9DF6-B8956579D***
*/
@NameInMap("RequestId")
public String requestId;
/**
* Indicates whether the request was successful. Valid values:
*
* - true: The request was successful.
* - false: The request failed.
*
*
* example:
* true
*/
@NameInMap("Success")
public Boolean success;
public static ListCloudVendorRegionsResponseBody build(java.util.Map map) throws Exception {
ListCloudVendorRegionsResponseBody self = new ListCloudVendorRegionsResponseBody();
return TeaModel.build(map, self);
}
public ListCloudVendorRegionsResponseBody setCode(String code) {
this.code = code;
return this;
}
public String getCode() {
return this.code;
}
public ListCloudVendorRegionsResponseBody setCount(Integer count) {
this.count = count;
return this;
}
public Integer getCount() {
return this.count;
}
public ListCloudVendorRegionsResponseBody setData(java.util.List data) {
this.data = data;
return this;
}
public java.util.List getData() {
return this.data;
}
public ListCloudVendorRegionsResponseBody setHttpStatusCode(Integer httpStatusCode) {
this.httpStatusCode = httpStatusCode;
return this;
}
public Integer getHttpStatusCode() {
return this.httpStatusCode;
}
public ListCloudVendorRegionsResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public ListCloudVendorRegionsResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public ListCloudVendorRegionsResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class ListCloudVendorRegionsResponseBodyData extends TeaModel {
/**
* The area to which the region belongs. The valid values vary based on the value of the Vendor parameter.
*
* - Valid values if Vendor is set to Tencent:
* - cn: China
* - southeast_asia: Southeast Asia Pacific
* - northeast_asia: Northeast Asia Pacific
* - southern_asia: South Asia Pacific
* - north_America: North America
* - south_America: South America
* - western_America: Western United States
* - eastern_America: Eastern United States
* - european: Europe
* - Valid values if Vendor is set to HUAWEICLOUD:
* - cn: China
* - africa: Africa
* - latin_america: Latin America
* - asia: Asia Pacific
* - Valid values if Vendor is set to Azure:
* - middle_east: Middle East
* - south_america: South America
* - canada: Canada
* - asia-pacific: Asia Pacific
* - europe: Europe
* - africa: Africa
* - us: United States
* - other: other regions
* - Valid values if Vendor is set to AWS:
* - cn: China
* - us: United States
* - eu: Europe
* - asia: Asia Pacific
* - south_america: South America
* - me: Middle East
* - ca: Canada
* - af: Africa
*
*
* example:
* cn
*/
@NameInMap("Area")
public String area;
/**
* Indicates whether the region is configured as a synchronization region on another site. Valid values:
*
* - 0: The region is not configured as a synchronization region on another site.
* - 1: The region is configured as a synchronization region on another site.
*
*
* example:
* 1
*/
@NameInMap("Disable")
public Integer disable;
/**
* The region ID.
*
* example:
* cn-hangzhou
*/
@NameInMap("RegionId")
public String regionId;
/**
* Indicates whether the region is configured as a synchronization region on this site. Valid values:
*
* - 0: The region is not configured as a synchronization region on this site.
* - 1: The region is configured as a synchronization region on this site.
*
*
* example:
* 0
*/
@NameInMap("Selected")
public Integer selected;
public static ListCloudVendorRegionsResponseBodyData build(java.util.Map map) throws Exception {
ListCloudVendorRegionsResponseBodyData self = new ListCloudVendorRegionsResponseBodyData();
return TeaModel.build(map, self);
}
public ListCloudVendorRegionsResponseBodyData setArea(String area) {
this.area = area;
return this;
}
public String getArea() {
return this.area;
}
public ListCloudVendorRegionsResponseBodyData setDisable(Integer disable) {
this.disable = disable;
return this;
}
public Integer getDisable() {
return this.disable;
}
public ListCloudVendorRegionsResponseBodyData setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public ListCloudVendorRegionsResponseBodyData setSelected(Integer selected) {
this.selected = selected;
return this;
}
public Integer getSelected() {
return this.selected;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy