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

com.aliyun.sdk.service.ens20171110.models.DescribeMeasurementDataResponseBody Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ens20171110.models;

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

/**
 * 
 * {@link DescribeMeasurementDataResponseBody} extends {@link TeaModel}
 *
 * 

DescribeMeasurementDataResponseBody

*/ public class DescribeMeasurementDataResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("MeasurementDatas") private MeasurementDatas measurementDatas; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeMeasurementDataResponseBody(Builder builder) { this.measurementDatas = builder.measurementDatas; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeMeasurementDataResponseBody create() { return builder().build(); } /** * @return measurementDatas */ public MeasurementDatas getMeasurementDatas() { return this.measurementDatas; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private MeasurementDatas measurementDatas; private String requestId; /** *

The metering data returned.

*/ public Builder measurementDatas(MeasurementDatas measurementDatas) { this.measurementDatas = measurementDatas; return this; } /** *

The ID of the request.

* * example: *

125B04C7-3D0D-4245-AF96-14E3758E3F06

*/ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeMeasurementDataResponseBody build() { return new DescribeMeasurementDataResponseBody(this); } } /** * * {@link DescribeMeasurementDataResponseBody} extends {@link TeaModel} * *

DescribeMeasurementDataResponseBody

*/ public static class BandWidthFeeData extends TeaModel { @com.aliyun.core.annotation.NameInMap("CostCode") private String costCode; @com.aliyun.core.annotation.NameInMap("CostName") private String costName; @com.aliyun.core.annotation.NameInMap("CostVal") private Integer costVal; private BandWidthFeeData(Builder builder) { this.costCode = builder.costCode; this.costName = builder.costName; this.costVal = builder.costVal; } public static Builder builder() { return new Builder(); } public static BandWidthFeeData create() { return builder().build(); } /** * @return costCode */ public String getCostCode() { return this.costCode; } /** * @return costName */ public String getCostName() { return this.costName; } /** * @return costVal */ public Integer getCostVal() { return this.costVal; } public static final class Builder { private String costCode; private String costName; private Integer costVal; /** *

The code of the bandwidth plan.

* * example: *

cn-cmcc-1

*/ public Builder costCode(String costCode) { this.costCode = costCode; return this; } /** *

The name of the bandwidth plan.

* * example: *

Beijing, Shanghai, and Guangzhou Mobile

*/ public Builder costName(String costName) { this.costName = costName; return this; } /** *

The bandwidth consumption. Unit: bit/second.

* * example: *

16486

*/ public Builder costVal(Integer costVal) { this.costVal = costVal; return this; } public BandWidthFeeData build() { return new BandWidthFeeData(this); } } } /** * * {@link DescribeMeasurementDataResponseBody} extends {@link TeaModel} * *

DescribeMeasurementDataResponseBody

*/ public static class BandWidthFeeDatas extends TeaModel { @com.aliyun.core.annotation.NameInMap("BandWidthFeeData") private java.util.List bandWidthFeeData; private BandWidthFeeDatas(Builder builder) { this.bandWidthFeeData = builder.bandWidthFeeData; } public static Builder builder() { return new Builder(); } public static BandWidthFeeDatas create() { return builder().build(); } /** * @return bandWidthFeeData */ public java.util.List getBandWidthFeeData() { return this.bandWidthFeeData; } public static final class Builder { private java.util.List bandWidthFeeData; /** * BandWidthFeeData. */ public Builder bandWidthFeeData(java.util.List bandWidthFeeData) { this.bandWidthFeeData = bandWidthFeeData; return this; } public BandWidthFeeDatas build() { return new BandWidthFeeDatas(this); } } } /** * * {@link DescribeMeasurementDataResponseBody} extends {@link TeaModel} * *

DescribeMeasurementDataResponseBody

*/ public static class ResourceFeeData extends TeaModel { @com.aliyun.core.annotation.NameInMap("Memory") private Integer memory; @com.aliyun.core.annotation.NameInMap("Storage") private Integer storage; @com.aliyun.core.annotation.NameInMap("Vcpu") private Integer vcpu; private ResourceFeeData(Builder builder) { this.memory = builder.memory; this.storage = builder.storage; this.vcpu = builder.vcpu; } public static Builder builder() { return new Builder(); } public static ResourceFeeData create() { return builder().build(); } /** * @return memory */ public Integer getMemory() { return this.memory; } /** * @return storage */ public Integer getStorage() { return this.storage; } /** * @return vcpu */ public Integer getVcpu() { return this.vcpu; } public static final class Builder { private Integer memory; private Integer storage; private Integer vcpu; /** *

The memory size. Unit: GB.

* * example: *

24

*/ public Builder memory(Integer memory) { this.memory = memory; return this; } /** *

The storage capacity. Unit: GB.

* * example: *

60

*/ public Builder storage(Integer storage) { this.storage = storage; return this; } /** *

The number of vCPUs.

* * example: *

12

*/ public Builder vcpu(Integer vcpu) { this.vcpu = vcpu; return this; } public ResourceFeeData build() { return new ResourceFeeData(this); } } } /** * * {@link DescribeMeasurementDataResponseBody} extends {@link TeaModel} * *

DescribeMeasurementDataResponseBody

*/ public static class ResourceFeeDataDetail extends TeaModel { @com.aliyun.core.annotation.NameInMap("CostCode") private String costCode; @com.aliyun.core.annotation.NameInMap("CostName") private String costName; @com.aliyun.core.annotation.NameInMap("CostVal") private Integer costVal; @com.aliyun.core.annotation.NameInMap("ResourceType") private String resourceType; private ResourceFeeDataDetail(Builder builder) { this.costCode = builder.costCode; this.costName = builder.costName; this.costVal = builder.costVal; this.resourceType = builder.resourceType; } public static Builder builder() { return new Builder(); } public static ResourceFeeDataDetail create() { return builder().build(); } /** * @return costCode */ public String getCostCode() { return this.costCode; } /** * @return costName */ public String getCostName() { return this.costName; } /** * @return costVal */ public Integer getCostVal() { return this.costVal; } /** * @return resourceType */ public String getResourceType() { return this.resourceType; } public static final class Builder { private String costCode; private String costName; private Integer costVal; private String resourceType; /** *

The code of the resource.

* * example: *

vCPU

*/ public Builder costCode(String costCode) { this.costCode = costCode; return this; } /** *

The name of the resource.

* * example: *

vCPU

*/ public Builder costName(String costName) { this.costName = costName; return this; } /** *

The consumption of the resource.

*
    *
  • Memory unit: GB.
  • *
  • CPU unit: vCPU.
  • *
  • Storage unit: GB.
  • *
* * example: *

55

*/ public Builder costVal(Integer costVal) { this.costVal = costVal; return this; } /** *

The type of the resource.

* * example: *

vCPU

*/ public Builder resourceType(String resourceType) { this.resourceType = resourceType; return this; } public ResourceFeeDataDetail build() { return new ResourceFeeDataDetail(this); } } } /** * * {@link DescribeMeasurementDataResponseBody} extends {@link TeaModel} * *

DescribeMeasurementDataResponseBody

*/ public static class ResourceFeeDataDetails extends TeaModel { @com.aliyun.core.annotation.NameInMap("ResourceFeeDataDetail") private java.util.List resourceFeeDataDetail; private ResourceFeeDataDetails(Builder builder) { this.resourceFeeDataDetail = builder.resourceFeeDataDetail; } public static Builder builder() { return new Builder(); } public static ResourceFeeDataDetails create() { return builder().build(); } /** * @return resourceFeeDataDetail */ public java.util.List getResourceFeeDataDetail() { return this.resourceFeeDataDetail; } public static final class Builder { private java.util.List resourceFeeDataDetail; /** * ResourceFeeDataDetail. */ public Builder resourceFeeDataDetail(java.util.List resourceFeeDataDetail) { this.resourceFeeDataDetail = resourceFeeDataDetail; return this; } public ResourceFeeDataDetails build() { return new ResourceFeeDataDetails(this); } } } /** * * {@link DescribeMeasurementDataResponseBody} extends {@link TeaModel} * *

DescribeMeasurementDataResponseBody

*/ public static class MeasurementData extends TeaModel { @com.aliyun.core.annotation.NameInMap("BandWidthFeeDatas") private BandWidthFeeDatas bandWidthFeeDatas; @com.aliyun.core.annotation.NameInMap("ChargeModel") private String chargeModel; @com.aliyun.core.annotation.NameInMap("CostCycle") private String costCycle; @com.aliyun.core.annotation.NameInMap("CostEndTime") private String costEndTime; @com.aliyun.core.annotation.NameInMap("CostStartTime") private String costStartTime; @com.aliyun.core.annotation.NameInMap("ResourceFeeData") private ResourceFeeData resourceFeeData; @com.aliyun.core.annotation.NameInMap("ResourceFeeDataDetails") private ResourceFeeDataDetails resourceFeeDataDetails; private MeasurementData(Builder builder) { this.bandWidthFeeDatas = builder.bandWidthFeeDatas; this.chargeModel = builder.chargeModel; this.costCycle = builder.costCycle; this.costEndTime = builder.costEndTime; this.costStartTime = builder.costStartTime; this.resourceFeeData = builder.resourceFeeData; this.resourceFeeDataDetails = builder.resourceFeeDataDetails; } public static Builder builder() { return new Builder(); } public static MeasurementData create() { return builder().build(); } /** * @return bandWidthFeeDatas */ public BandWidthFeeDatas getBandWidthFeeDatas() { return this.bandWidthFeeDatas; } /** * @return chargeModel */ public String getChargeModel() { return this.chargeModel; } /** * @return costCycle */ public String getCostCycle() { return this.costCycle; } /** * @return costEndTime */ public String getCostEndTime() { return this.costEndTime; } /** * @return costStartTime */ public String getCostStartTime() { return this.costStartTime; } /** * @return resourceFeeData */ public ResourceFeeData getResourceFeeData() { return this.resourceFeeData; } /** * @return resourceFeeDataDetails */ public ResourceFeeDataDetails getResourceFeeDataDetails() { return this.resourceFeeDataDetails; } public static final class Builder { private BandWidthFeeDatas bandWidthFeeDatas; private String chargeModel; private String costCycle; private String costEndTime; private String costStartTime; private ResourceFeeData resourceFeeData; private ResourceFeeDataDetails resourceFeeDataDetails; /** *

The bandwidth data returned.

*/ public Builder bandWidthFeeDatas(BandWidthFeeDatas bandWidthFeeDatas) { this.bandWidthFeeDatas = bandWidthFeeDatas; return this; } /** *

The metering method. Valid values:

*
    *
  • ChargeByUnified: unified metering.
  • *
  • ChargeByGrade: differential metering.
  • *
* * example: *

ChargeByGrade

*/ public Builder chargeModel(String chargeModel) { this.chargeModel = chargeModel; return this; } /** *

The metering cycle.

* * example: *

2019-07-30

*/ public Builder costCycle(String costCycle) { this.costCycle = costCycle; return this; } /** *

The end time of the metering cycle.

* * example: *

2019-07-30T16:00:00Z

*/ public Builder costEndTime(String costEndTime) { this.costEndTime = costEndTime; return this; } /** *

The start time of the metering cycle.

* * example: *

2019-07-29T16:00:00Z

*/ public Builder costStartTime(String costStartTime) { this.costStartTime = costStartTime; return this; } /** *

The information about computing resources.

*/ public Builder resourceFeeData(ResourceFeeData resourceFeeData) { this.resourceFeeData = resourceFeeData; return this; } /** *

Details of the computing resources.

*/ public Builder resourceFeeDataDetails(ResourceFeeDataDetails resourceFeeDataDetails) { this.resourceFeeDataDetails = resourceFeeDataDetails; return this; } public MeasurementData build() { return new MeasurementData(this); } } } /** * * {@link DescribeMeasurementDataResponseBody} extends {@link TeaModel} * *

DescribeMeasurementDataResponseBody

*/ public static class MeasurementDatas extends TeaModel { @com.aliyun.core.annotation.NameInMap("MeasurementData") private java.util.List measurementData; private MeasurementDatas(Builder builder) { this.measurementData = builder.measurementData; } public static Builder builder() { return new Builder(); } public static MeasurementDatas create() { return builder().build(); } /** * @return measurementData */ public java.util.List getMeasurementData() { return this.measurementData; } public static final class Builder { private java.util.List measurementData; /** * MeasurementData. */ public Builder measurementData(java.util.List measurementData) { this.measurementData = measurementData; return this; } public MeasurementDatas build() { return new MeasurementDatas(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy