All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.ecs20140526.models.DescribeSavingsPlanEstimationRequest Maven / Gradle / Ivy

There is a newer version: 5.0.29
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ecs20140526.models;

import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * {@link DescribeSavingsPlanEstimationRequest} extends {@link RequestModel}
 *
 * 

DescribeSavingsPlanEstimationRequest

*/ public class DescribeSavingsPlanEstimationRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OfferingType") private String offeringType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Period") private String period; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PeriodUnit") private String periodUnit; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PlanType") private String planType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceId") private String resourceId; private DescribeSavingsPlanEstimationRequest(Builder builder) { super(builder); this.offeringType = builder.offeringType; this.period = builder.period; this.periodUnit = builder.periodUnit; this.planType = builder.planType; this.regionId = builder.regionId; this.resourceId = builder.resourceId; } public static Builder builder() { return new Builder(); } public static DescribeSavingsPlanEstimationRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return offeringType */ public String getOfferingType() { return this.offeringType; } /** * @return period */ public String getPeriod() { return this.period; } /** * @return periodUnit */ public String getPeriodUnit() { return this.periodUnit; } /** * @return planType */ public String getPlanType() { return this.planType; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceId */ public String getResourceId() { return this.resourceId; } public static final class Builder extends Request.Builder { private String offeringType; private String period; private String periodUnit; private String planType; private String regionId; private String resourceId; private Builder() { super(); } private Builder(DescribeSavingsPlanEstimationRequest request) { super(request); this.offeringType = request.offeringType; this.period = request.period; this.periodUnit = request.periodUnit; this.planType = request.planType; this.regionId = request.regionId; this.resourceId = request.resourceId; } /** * OfferingType. */ public Builder offeringType(String offeringType) { this.putQueryParameter("OfferingType", offeringType); this.offeringType = offeringType; return this; } /** * Period. */ public Builder period(String 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; } /** * PlanType. */ public Builder planType(String planType) { this.putQueryParameter("PlanType", planType); this.planType = planType; return this; } /** * RegionId. */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * ResourceId. */ public Builder resourceId(String resourceId) { this.putQueryParameter("ResourceId", resourceId); this.resourceId = resourceId; return this; } @Override public DescribeSavingsPlanEstimationRequest build() { return new DescribeSavingsPlanEstimationRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy