com.aliyuncs.appstream_center.model.v20210901.GetResourcePriceRequest 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.appstream_center.model.v20210901;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class GetResourcePriceRequest extends RpcAcsRequest {
private String bizRegionId;
private Long period;
private Long amount;
private String nodeInstanceType;
private String productType;
private String periodUnit;
private String chargeType;
public GetResourcePriceRequest() {
super("appstream-center", "2021-09-01", "GetResourcePrice");
setMethod(MethodType.POST);
}
public String getBizRegionId() {
return this.bizRegionId;
}
public void setBizRegionId(String bizRegionId) {
this.bizRegionId = bizRegionId;
if(bizRegionId != null){
putQueryParameter("BizRegionId", bizRegionId);
}
}
public Long getPeriod() {
return this.period;
}
public void setPeriod(Long period) {
this.period = period;
if(period != null){
putQueryParameter("Period", period.toString());
}
}
public Long getAmount() {
return this.amount;
}
public void setAmount(Long amount) {
this.amount = amount;
if(amount != null){
putQueryParameter("Amount", amount.toString());
}
}
public String getNodeInstanceType() {
return this.nodeInstanceType;
}
public void setNodeInstanceType(String nodeInstanceType) {
this.nodeInstanceType = nodeInstanceType;
if(nodeInstanceType != null){
putQueryParameter("NodeInstanceType", nodeInstanceType);
}
}
public String getProductType() {
return this.productType;
}
public void setProductType(String productType) {
this.productType = productType;
if(productType != null){
putQueryParameter("ProductType", productType);
}
}
public String getPeriodUnit() {
return this.periodUnit;
}
public void setPeriodUnit(String periodUnit) {
this.periodUnit = periodUnit;
if(periodUnit != null){
putQueryParameter("PeriodUnit", periodUnit);
}
}
public String getChargeType() {
return this.chargeType;
}
public void setChargeType(String chargeType) {
this.chargeType = chargeType;
if(chargeType != null){
putQueryParameter("ChargeType", chargeType);
}
}
@Override
public Class getResponseClass() {
return GetResourcePriceResponse.class;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy