com.aliyun.sdk.service.appstream_center20210901.models.GetResourceRenewPriceRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-appstream_center20210901 Show documentation
Show all versions of alibabacloud-appstream_center20210901 Show documentation
Alibaba Cloud appstream-center (20210901) Async SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.appstream_center20210901.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link GetResourceRenewPriceRequest} extends {@link RequestModel}
*
* GetResourceRenewPriceRequest
*/
public class GetResourceRenewPriceRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AppInstanceGroupId")
@com.aliyun.core.annotation.Validation(required = true)
private String appInstanceGroupId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Period")
@com.aliyun.core.annotation.Validation(required = true)
private Long period;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PeriodUnit")
@com.aliyun.core.annotation.Validation(required = true)
private String periodUnit;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ProductType")
@com.aliyun.core.annotation.Validation(required = true)
private String productType;
private GetResourceRenewPriceRequest(Builder builder) {
super(builder);
this.appInstanceGroupId = builder.appInstanceGroupId;
this.period = builder.period;
this.periodUnit = builder.periodUnit;
this.productType = builder.productType;
}
public static Builder builder() {
return new Builder();
}
public static GetResourceRenewPriceRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return appInstanceGroupId
*/
public String getAppInstanceGroupId() {
return this.appInstanceGroupId;
}
/**
* @return period
*/
public Long getPeriod() {
return this.period;
}
/**
* @return periodUnit
*/
public String getPeriodUnit() {
return this.periodUnit;
}
/**
* @return productType
*/
public String getProductType() {
return this.productType;
}
public static final class Builder extends Request.Builder {
private String appInstanceGroupId;
private Long period;
private String periodUnit;
private String productType;
private Builder() {
super();
}
private Builder(GetResourceRenewPriceRequest request) {
super(request);
this.appInstanceGroupId = request.appInstanceGroupId;
this.period = request.period;
this.periodUnit = request.periodUnit;
this.productType = request.productType;
}
/**
* AppInstanceGroupId.
*/
public Builder appInstanceGroupId(String appInstanceGroupId) {
this.putQueryParameter("AppInstanceGroupId", appInstanceGroupId);
this.appInstanceGroupId = appInstanceGroupId;
return this;
}
/**
* Period.
*/
public Builder period(Long period) {
this.putQueryParameter("Period", period);
this.period = period;
return this;
}
/**
* PeriodUnit.
*/
public Builder periodUnit(String periodUnit) {
this.putQueryParameter("PeriodUnit", periodUnit);
this.periodUnit = periodUnit;
return this;
}
/**
* ProductType.
*/
public Builder productType(String productType) {
this.putQueryParameter("ProductType", productType);
this.productType = productType;
return this;
}
@Override
public GetResourceRenewPriceRequest build() {
return new GetResourceRenewPriceRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy