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

com.aliyun.cdn20180510.models.DescribeDomainUsageDataRequest Maven / Gradle / Ivy

// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.cdn20180510.models;

import com.aliyun.tea.*;

public class DescribeDomainUsageDataRequest extends TeaModel {
    /**
     * 

The billable region. Valid values:

*
*

* **CN** (default): inside the Chinese mainland

*

* **OverSeas**: outside the Chinese mainland

*

* **AP1**: Asia Pacific 1

*

* **AP2**: Asia Pacific 2

*

* **AP3**: Asia Pacific 3

*

* **NA**: North America

*

* **SA**: South America

*

* **EU**: Europe

*

* **MEAA**: Middle East and Africa

*

* **all**: all the preceding billable regions

*/ @NameInMap("Area") public String area; /** *

The protocol of the data that you want to query. Valid values:

*
*

* **http:** HTTP

*

* **https:** HTTPS

*

* **quic**: QUIC

*

* **all** (default): HTTP, HTTPS, and QUIC

*/ @NameInMap("DataProtocol") public String dataProtocol; /** *

The accelerated domain name. You can specify up to 100 domain names in each request. Separate multiple domain names with commas (,).

*
*

> If you leave this parameter empty, the usage data of all accelerated domain names in your Alibaba Cloud account is returned.

*/ @NameInMap("DomainName") public String domainName; /** *

The end of the time range to query.

*
*

Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.

*
*

> The end time must be later than the start time. The maximum time range that can be specified is 31 days.

*/ @NameInMap("EndTime") public String endTime; /** *

The type of the data that you want to query. Valid values:

*
*

* **bps**: bandwidth

*

* **traf**: traffic

*

* **acc**: requests

*
*

> If you set this parameter to **acc**, the **Area** parameter is not supported.

*/ @NameInMap("Field") public String field; /** *

The time granularity of the data entries. Unit: seconds. Valid values: **300** (5 minutes), **3600** (1 hour), and **86400** (1 day).

*
*

* If **Interval** is set to **300**, you can query usage data in the last 6 months. The maximum time range per query that can be specified is 3 days.

*

* If **Interval** is set to **3600** or **86400**, you can query usage data of the previous year.

*

* If you leave the **Interval** parameter empty, the maximum time range that you can query is 1 month. If you specify a time range of 1 to 3 days, the time interval between the entries that are returned is 1 hour. If you specify a time range of at least 4 days, the time interval between the entries that are returned is 1 day.

*/ @NameInMap("Interval") public String interval; /** *

The beginning of the time range to query.

*
*

Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.

*
*

> Data is collected every 5 minutes.

*/ @NameInMap("StartTime") public String startTime; /** *

The type of content that you want to query. Valid values:

*
*

* **static**: static content

*

* **dynamic**: dynamic content

*

* **all** (default): both static and dynamic content

*/ @NameInMap("Type") public String type; public static DescribeDomainUsageDataRequest build(java.util.Map map) throws Exception { DescribeDomainUsageDataRequest self = new DescribeDomainUsageDataRequest(); return TeaModel.build(map, self); } public DescribeDomainUsageDataRequest setArea(String area) { this.area = area; return this; } public String getArea() { return this.area; } public DescribeDomainUsageDataRequest setDataProtocol(String dataProtocol) { this.dataProtocol = dataProtocol; return this; } public String getDataProtocol() { return this.dataProtocol; } public DescribeDomainUsageDataRequest setDomainName(String domainName) { this.domainName = domainName; return this; } public String getDomainName() { return this.domainName; } public DescribeDomainUsageDataRequest setEndTime(String endTime) { this.endTime = endTime; return this; } public String getEndTime() { return this.endTime; } public DescribeDomainUsageDataRequest setField(String field) { this.field = field; return this; } public String getField() { return this.field; } public DescribeDomainUsageDataRequest setInterval(String interval) { this.interval = interval; return this; } public String getInterval() { return this.interval; } public DescribeDomainUsageDataRequest setStartTime(String startTime) { this.startTime = startTime; return this; } public String getStartTime() { return this.startTime; } public DescribeDomainUsageDataRequest setType(String type) { this.type = type; return this; } public String getType() { return this.type; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy