com.aliyuncs.sddp.model.v20190103.DescribeInstancesRequest Maven / Gradle / Ivy
/*
* 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 com.aliyuncs.sddp.model.v20190103;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.sddp.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeInstancesRequest extends RpcAcsRequest {
private Long productId;
private Long riskLevelId;
private String serviceRegionId;
private Integer featureType;
private String name;
private Long ruleId;
private String productCode;
private Integer pageSize;
private String lang;
private Integer currentPage;
public DescribeInstancesRequest() {
super("Sddp", "2019-01-03", "DescribeInstances", "sddp");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Long getProductId() {
return this.productId;
}
public void setProductId(Long productId) {
this.productId = productId;
if(productId != null){
putQueryParameter("ProductId", productId.toString());
}
}
public Long getRiskLevelId() {
return this.riskLevelId;
}
public void setRiskLevelId(Long riskLevelId) {
this.riskLevelId = riskLevelId;
if(riskLevelId != null){
putQueryParameter("RiskLevelId", riskLevelId.toString());
}
}
public String getServiceRegionId() {
return this.serviceRegionId;
}
public void setServiceRegionId(String serviceRegionId) {
this.serviceRegionId = serviceRegionId;
if(serviceRegionId != null){
putQueryParameter("ServiceRegionId", serviceRegionId);
}
}
public Integer getFeatureType() {
return this.featureType;
}
public void setFeatureType(Integer featureType) {
this.featureType = featureType;
if(featureType != null){
putQueryParameter("FeatureType", featureType.toString());
}
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
if(name != null){
putQueryParameter("Name", name);
}
}
public Long getRuleId() {
return this.ruleId;
}
public void setRuleId(Long ruleId) {
this.ruleId = ruleId;
if(ruleId != null){
putQueryParameter("RuleId", ruleId.toString());
}
}
public String getProductCode() {
return this.productCode;
}
public void setProductCode(String productCode) {
this.productCode = productCode;
if(productCode != null){
putQueryParameter("ProductCode", productCode);
}
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize.toString());
}
}
public String getLang() {
return this.lang;
}
public void setLang(String lang) {
this.lang = lang;
if(lang != null){
putQueryParameter("Lang", lang);
}
}
public Integer getCurrentPage() {
return this.currentPage;
}
public void setCurrentPage(Integer currentPage) {
this.currentPage = currentPage;
if(currentPage != null){
putQueryParameter("CurrentPage", currentPage.toString());
}
}
@Override
public Class getResponseClass() {
return DescribeInstancesResponse.class;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy