index
int64
repo_id
string
file_path
string
content
string
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainLogRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainLogRequest} extends {@link RequestModel} * * <p>DescribeVodDomainLogRequest</p> */ public class DescribeVodDomainLogRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DomainName") @com.aliyun.core.annotation.Validation(required = true) private String domainName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageNumber") private Long pageNumber; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") @com.aliyun.core.annotation.Validation(maximum = 1000, minimum = 1) private Long pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; private DescribeVodDomainLogRequest(Builder builder) { super(builder); this.domainName = builder.domainName; this.endTime = builder.endTime; this.ownerId = builder.ownerId; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static DescribeVodDomainLogRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return domainName */ public String getDomainName() { return this.domainName; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return pageNumber */ public Long getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Long getPageSize() { return this.pageSize; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder extends Request.Builder<DescribeVodDomainLogRequest, Builder> { private String domainName; private String endTime; private Long ownerId; private Long pageNumber; private Long pageSize; private String startTime; private Builder() { super(); } private Builder(DescribeVodDomainLogRequest request) { super(request); this.domainName = request.domainName; this.endTime = request.endTime; this.ownerId = request.ownerId; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.startTime = request.startTime; } /** * <p>The domain name for CDN.</p> * <blockquote> * <p> You can specify only one domain name in each query.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>example.com</p> */ public Builder domainName(String domainName) { this.putQueryParameter("DomainName", domainName); this.domainName = domainName; return this; } /** * <p>The end of the time range to query. The end time must be later than the start time. The maximum time range that can be specified is one year. Specify the time in the ISO 8601 standard in the <code>yyyy-MM-ddTHH:mm:ssZ</code> format. The time must be in UTC.</p> * * <strong>example:</strong> * <p>2016-10-20T05:00:00Z</p> */ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * <p>The page number. Default value: <strong>1</strong>.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Long pageNumber) { this.putQueryParameter("PageNumber", pageNumber); this.pageNumber = pageNumber; return this; } /** * <p>The number of entries per page.</p> * <ul> * <li>Default value: <strong>300</strong>.</li> * <li>Valid values: <strong>1 to 1000</strong>.</li> * </ul> * * <strong>example:</strong> * <p>300</p> */ public Builder pageSize(Long pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The beginning of the time range to query. Specify the time in the ISO 8601 standard in the <code>yyyy-MM-ddTHH:mm:ssZ</code> format. The time must be in UTC.</p> * * <strong>example:</strong> * <p>2016-10-20T04:00:00Z</p> */ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } @Override public DescribeVodDomainLogRequest build() { return new DescribeVodDomainLogRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainLogResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainLogResponse} extends {@link TeaModel} * * <p>DescribeVodDomainLogResponse</p> */ public class DescribeVodDomainLogResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeVodDomainLogResponseBody body; private DescribeVodDomainLogResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVodDomainLogResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeVodDomainLogResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVodDomainLogResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVodDomainLogResponseBody body); @Override DescribeVodDomainLogResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVodDomainLogResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVodDomainLogResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVodDomainLogResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeVodDomainLogResponseBody body) { this.body = body; return this; } @Override public DescribeVodDomainLogResponse build() { return new DescribeVodDomainLogResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainLogResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainLogResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainLogResponseBody</p> */ public class DescribeVodDomainLogResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DomainLogDetails") private DomainLogDetails domainLogDetails; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeVodDomainLogResponseBody(Builder builder) { this.domainLogDetails = builder.domainLogDetails; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeVodDomainLogResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return domainLogDetails */ public DomainLogDetails getDomainLogDetails() { return this.domainLogDetails; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private DomainLogDetails domainLogDetails; private String requestId; private Builder() { } private Builder(DescribeVodDomainLogResponseBody model) { this.domainLogDetails = model.domainLogDetails; this.requestId = model.requestId; } /** * <p>The details of CDN logs.</p> */ public Builder domainLogDetails(DomainLogDetails domainLogDetails) { this.domainLogDetails = domainLogDetails; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>077D0284-F041-4A41-4D3C-B48377FD****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeVodDomainLogResponseBody build() { return new DescribeVodDomainLogResponseBody(this); } } /** * * {@link DescribeVodDomainLogResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainLogResponseBody</p> */ public static class LogInfoDetail extends TeaModel { @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.NameInMap("LogName") private String logName; @com.aliyun.core.annotation.NameInMap("LogPath") private String logPath; @com.aliyun.core.annotation.NameInMap("LogSize") private Long logSize; @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; private LogInfoDetail(Builder builder) { this.endTime = builder.endTime; this.logName = builder.logName; this.logPath = builder.logPath; this.logSize = builder.logSize; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static LogInfoDetail create() { return builder().build(); } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return logName */ public String getLogName() { return this.logName; } /** * @return logPath */ public String getLogPath() { return this.logPath; } /** * @return logSize */ public Long getLogSize() { return this.logSize; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder { private String endTime; private String logName; private String logPath; private Long logSize; private String startTime; private Builder() { } private Builder(LogInfoDetail model) { this.endTime = model.endTime; this.logName = model.logName; this.logPath = model.logPath; this.logSize = model.logSize; this.startTime = model.startTime; } /** * <p>The end of the time range during which data was queried. The time follows the ISO 8601 standard in the <code>yyyy-MM-ddTHH:mm:ssZ</code> format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2018-05-31T05:00:00Z</p> */ public Builder endTime(String endTime) { this.endTime = endTime; return this; } /** * <p>The name of the log file.</p> * * <strong>example:</strong> * <p>example.com_2018_03_25_180000_19****.gz</p> */ public Builder logName(String logName) { this.logName = logName; return this; } /** * <p>The path of the log file.</p> * * <strong>example:</strong> * <p>example.com/2018_03_25/example.com_2018_03_25_180000_19****.gz?Expires=1522659931&amp;OSSAccessKeyId=<strong><strong>&amp;Signature=</strong></strong></p> */ public Builder logPath(String logPath) { this.logPath = logPath; return this; } /** * <p>The size of the log file.</p> * * <strong>example:</strong> * <p>2645401</p> */ public Builder logSize(Long logSize) { this.logSize = logSize; return this; } /** * <p>The beginning of the time range during which data was queried. The time follows the ISO 8601 standard in the <code>yyyy-MM-ddTHH:mm:ssZ</code> format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2018-05-31T04:00:00Z</p> */ public Builder startTime(String startTime) { this.startTime = startTime; return this; } public LogInfoDetail build() { return new LogInfoDetail(this); } } } /** * * {@link DescribeVodDomainLogResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainLogResponseBody</p> */ public static class LogInfos extends TeaModel { @com.aliyun.core.annotation.NameInMap("LogInfoDetail") private java.util.List<LogInfoDetail> logInfoDetail; private LogInfos(Builder builder) { this.logInfoDetail = builder.logInfoDetail; } public static Builder builder() { return new Builder(); } public static LogInfos create() { return builder().build(); } /** * @return logInfoDetail */ public java.util.List<LogInfoDetail> getLogInfoDetail() { return this.logInfoDetail; } public static final class Builder { private java.util.List<LogInfoDetail> logInfoDetail; private Builder() { } private Builder(LogInfos model) { this.logInfoDetail = model.logInfoDetail; } /** * LogInfoDetail. */ public Builder logInfoDetail(java.util.List<LogInfoDetail> logInfoDetail) { this.logInfoDetail = logInfoDetail; return this; } public LogInfos build() { return new LogInfos(this); } } } /** * * {@link DescribeVodDomainLogResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainLogResponseBody</p> */ public static class PageInfos extends TeaModel { @com.aliyun.core.annotation.NameInMap("PageNumber") private Long pageNumber; @com.aliyun.core.annotation.NameInMap("PageSize") private Long pageSize; @com.aliyun.core.annotation.NameInMap("Total") private Long total; private PageInfos(Builder builder) { this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.total = builder.total; } public static Builder builder() { return new Builder(); } public static PageInfos create() { return builder().build(); } /** * @return pageNumber */ public Long getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Long getPageSize() { return this.pageSize; } /** * @return total */ public Long getTotal() { return this.total; } public static final class Builder { private Long pageNumber; private Long pageSize; private Long total; private Builder() { } private Builder(PageInfos model) { this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.total = model.total; } /** * <p>The page number.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Long pageNumber) { this.pageNumber = pageNumber; return this; } /** * <p>The number of entries per page.</p> * * <strong>example:</strong> * <p>300</p> */ public Builder pageSize(Long pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder total(Long total) { this.total = total; return this; } public PageInfos build() { return new PageInfos(this); } } } /** * * {@link DescribeVodDomainLogResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainLogResponseBody</p> */ public static class DomainLogDetail extends TeaModel { @com.aliyun.core.annotation.NameInMap("DomainName") private String domainName; @com.aliyun.core.annotation.NameInMap("LogCount") private Long logCount; @com.aliyun.core.annotation.NameInMap("LogInfos") private LogInfos logInfos; @com.aliyun.core.annotation.NameInMap("PageInfos") private PageInfos pageInfos; private DomainLogDetail(Builder builder) { this.domainName = builder.domainName; this.logCount = builder.logCount; this.logInfos = builder.logInfos; this.pageInfos = builder.pageInfos; } public static Builder builder() { return new Builder(); } public static DomainLogDetail create() { return builder().build(); } /** * @return domainName */ public String getDomainName() { return this.domainName; } /** * @return logCount */ public Long getLogCount() { return this.logCount; } /** * @return logInfos */ public LogInfos getLogInfos() { return this.logInfos; } /** * @return pageInfos */ public PageInfos getPageInfos() { return this.pageInfos; } public static final class Builder { private String domainName; private Long logCount; private LogInfos logInfos; private PageInfos pageInfos; private Builder() { } private Builder(DomainLogDetail model) { this.domainName = model.domainName; this.logCount = model.logCount; this.logInfos = model.logInfos; this.pageInfos = model.pageInfos; } /** * <p>The domain name.</p> * * <strong>example:</strong> * <p>example.com</p> */ public Builder domainName(String domainName) { this.domainName = domainName; return this; } /** * <p>The total number of entries returned on the current page.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder logCount(Long logCount) { this.logCount = logCount; return this; } /** * <p>The queried CDN logs.</p> */ public Builder logInfos(LogInfos logInfos) { this.logInfos = logInfos; return this; } /** * <p>The pagination information.</p> */ public Builder pageInfos(PageInfos pageInfos) { this.pageInfos = pageInfos; return this; } public DomainLogDetail build() { return new DomainLogDetail(this); } } } /** * * {@link DescribeVodDomainLogResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainLogResponseBody</p> */ public static class DomainLogDetails extends TeaModel { @com.aliyun.core.annotation.NameInMap("DomainLogDetail") private java.util.List<DomainLogDetail> domainLogDetail; private DomainLogDetails(Builder builder) { this.domainLogDetail = builder.domainLogDetail; } public static Builder builder() { return new Builder(); } public static DomainLogDetails create() { return builder().build(); } /** * @return domainLogDetail */ public java.util.List<DomainLogDetail> getDomainLogDetail() { return this.domainLogDetail; } public static final class Builder { private java.util.List<DomainLogDetail> domainLogDetail; private Builder() { } private Builder(DomainLogDetails model) { this.domainLogDetail = model.domainLogDetail; } /** * DomainLogDetail. */ public Builder domainLogDetail(java.util.List<DomainLogDetail> domainLogDetail) { this.domainLogDetail = domainLogDetail; return this; } public DomainLogDetails build() { return new DomainLogDetails(this); } } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainMax95BpsDataRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainMax95BpsDataRequest} extends {@link RequestModel} * * <p>DescribeVodDomainMax95BpsDataRequest</p> */ public class DescribeVodDomainMax95BpsDataRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Cycle") private String cycle; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DomainName") private String domainName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TimePoint") private String timePoint; private DescribeVodDomainMax95BpsDataRequest(Builder builder) { super(builder); this.cycle = builder.cycle; this.domainName = builder.domainName; this.endTime = builder.endTime; this.ownerId = builder.ownerId; this.startTime = builder.startTime; this.timePoint = builder.timePoint; } public static Builder builder() { return new Builder(); } public static DescribeVodDomainMax95BpsDataRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return cycle */ public String getCycle() { return this.cycle; } /** * @return domainName */ public String getDomainName() { return this.domainName; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return startTime */ public String getStartTime() { return this.startTime; } /** * @return timePoint */ public String getTimePoint() { return this.timePoint; } public static final class Builder extends Request.Builder<DescribeVodDomainMax95BpsDataRequest, Builder> { private String cycle; private String domainName; private String endTime; private Long ownerId; private String startTime; private String timePoint; private Builder() { super(); } private Builder(DescribeVodDomainMax95BpsDataRequest request) { super(request); this.cycle = request.cycle; this.domainName = request.domainName; this.endTime = request.endTime; this.ownerId = request.ownerId; this.startTime = request.startTime; this.timePoint = request.timePoint; } /** * <p>The cycle to query the 95th percentile bandwidth data. Valid values:</p> * <ul> * <li>day (default)</li> * <li>month</li> * </ul> * * <strong>example:</strong> * <p>month</p> */ public Builder cycle(String cycle) { this.putQueryParameter("Cycle", cycle); this.cycle = cycle; return this; } /** * <p>The domain name to be queried for acceleration. If the parameter is empty, the data merged from all accelerated domain names will be returned by default.</p> * <blockquote> * <p>Batch domain name queries are not supported.</p> * </blockquote> * * <strong>example:</strong> * <p>example.com</p> */ public Builder domainName(String domainName) { this.putQueryParameter("DomainName", domainName); this.domainName = domainName; return this; } /** * <p>End time point. The date format follows the ISO8601 representation and uses UTC time, in the format yyyy-MM-dd&quot;T&quot;HH:mm:ssZ.</p> * * <strong>example:</strong> * <p>2017-01-12T13:00:00Z</p> */ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * <p>Start time point. The date format follows the ISO8601 representation and uses UTC time, in the format yyyy-MM-dd&quot;T&quot;HH:mm:ssZ.</p> * * <strong>example:</strong> * <p>2017-01-11T12:00:00Z</p> */ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } /** * <p>The start time point for getting the data. The date format follows the ISO8601 representation and uses UTC time, in the format yyyy-MM-dd&quot;T&quot;HH:mm:ssZ.</p> * * <strong>example:</strong> * <p>2017-12-21T10:00:00Z</p> */ public Builder timePoint(String timePoint) { this.putQueryParameter("TimePoint", timePoint); this.timePoint = timePoint; return this; } @Override public DescribeVodDomainMax95BpsDataRequest build() { return new DescribeVodDomainMax95BpsDataRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainMax95BpsDataResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainMax95BpsDataResponse} extends {@link TeaModel} * * <p>DescribeVodDomainMax95BpsDataResponse</p> */ public class DescribeVodDomainMax95BpsDataResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeVodDomainMax95BpsDataResponseBody body; private DescribeVodDomainMax95BpsDataResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVodDomainMax95BpsDataResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeVodDomainMax95BpsDataResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVodDomainMax95BpsDataResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVodDomainMax95BpsDataResponseBody body); @Override DescribeVodDomainMax95BpsDataResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVodDomainMax95BpsDataResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVodDomainMax95BpsDataResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVodDomainMax95BpsDataResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeVodDomainMax95BpsDataResponseBody body) { this.body = body; return this; } @Override public DescribeVodDomainMax95BpsDataResponse build() { return new DescribeVodDomainMax95BpsDataResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainMax95BpsDataResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainMax95BpsDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainMax95BpsDataResponseBody</p> */ public class DescribeVodDomainMax95BpsDataResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DetailData") private DetailData detailData; @com.aliyun.core.annotation.NameInMap("DomainName") private String domainName; @com.aliyun.core.annotation.NameInMap("DomesticMax95Bps") private String domesticMax95Bps; @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.NameInMap("Max95Bps") private String max95Bps; @com.aliyun.core.annotation.NameInMap("OverseasMax95Bps") private String overseasMax95Bps; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; private DescribeVodDomainMax95BpsDataResponseBody(Builder builder) { this.detailData = builder.detailData; this.domainName = builder.domainName; this.domesticMax95Bps = builder.domesticMax95Bps; this.endTime = builder.endTime; this.max95Bps = builder.max95Bps; this.overseasMax95Bps = builder.overseasMax95Bps; this.requestId = builder.requestId; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static DescribeVodDomainMax95BpsDataResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return detailData */ public DetailData getDetailData() { return this.detailData; } /** * @return domainName */ public String getDomainName() { return this.domainName; } /** * @return domesticMax95Bps */ public String getDomesticMax95Bps() { return this.domesticMax95Bps; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return max95Bps */ public String getMax95Bps() { return this.max95Bps; } /** * @return overseasMax95Bps */ public String getOverseasMax95Bps() { return this.overseasMax95Bps; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder { private DetailData detailData; private String domainName; private String domesticMax95Bps; private String endTime; private String max95Bps; private String overseasMax95Bps; private String requestId; private String startTime; private Builder() { } private Builder(DescribeVodDomainMax95BpsDataResponseBody model) { this.detailData = model.detailData; this.domainName = model.domainName; this.domesticMax95Bps = model.domesticMax95Bps; this.endTime = model.endTime; this.max95Bps = model.max95Bps; this.overseasMax95Bps = model.overseasMax95Bps; this.requestId = model.requestId; this.startTime = model.startTime; } /** * <p>Details of the 95th percentile bandwidth.</p> */ public Builder detailData(DetailData detailData) { this.detailData = detailData; return this; } /** * <p>The domain name for CDN.</p> * * <strong>example:</strong> * <p>example.com</p> */ public Builder domainName(String domainName) { this.domainName = domainName; return this; } /** * <p>The 95th percentile bandwidth in the Chinese mainland.</p> * * <strong>example:</strong> * <p>16777590.28</p> */ public Builder domesticMax95Bps(String domesticMax95Bps) { this.domesticMax95Bps = domesticMax95Bps; return this; } /** * <p>The end of the time range to query.</p> * <p>Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.</p> * <blockquote> * <p> The end time must be later than the start time.</p> * </blockquote> * * <strong>example:</strong> * <p>2017-01-11T13:00:00Z</p> */ public Builder endTime(String endTime) { this.endTime = endTime; return this; } /** * <p>The 95th percentile bandwidth.</p> * * <strong>example:</strong> * <p>16777590.28</p> */ public Builder max95Bps(String max95Bps) { this.max95Bps = max95Bps; return this; } /** * <p>The 95th percentile bandwidth outside the Chinese mainland.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder overseasMax95Bps(String overseasMax95Bps) { this.overseasMax95Bps = overseasMax95Bps; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>25818875-5F78-4A*****F6-D7393642CA58</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The beginning of the time range to query.</p> * <p>Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.</p> * * <strong>example:</strong> * <p>2017-01-11T12:00:00Z</p> */ public Builder startTime(String startTime) { this.startTime = startTime; return this; } public DescribeVodDomainMax95BpsDataResponseBody build() { return new DescribeVodDomainMax95BpsDataResponseBody(this); } } /** * * {@link DescribeVodDomainMax95BpsDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainMax95BpsDataResponseBody</p> */ public static class Max95Detail extends TeaModel { @com.aliyun.core.annotation.NameInMap("Area") private String area; @com.aliyun.core.annotation.NameInMap("Max95Bps") private Float max95Bps; @com.aliyun.core.annotation.NameInMap("Max95BpsPeakTime") private String max95BpsPeakTime; @com.aliyun.core.annotation.NameInMap("TimeStamp") private String timeStamp; private Max95Detail(Builder builder) { this.area = builder.area; this.max95Bps = builder.max95Bps; this.max95BpsPeakTime = builder.max95BpsPeakTime; this.timeStamp = builder.timeStamp; } public static Builder builder() { return new Builder(); } public static Max95Detail create() { return builder().build(); } /** * @return area */ public String getArea() { return this.area; } /** * @return max95Bps */ public Float getMax95Bps() { return this.max95Bps; } /** * @return max95BpsPeakTime */ public String getMax95BpsPeakTime() { return this.max95BpsPeakTime; } /** * @return timeStamp */ public String getTimeStamp() { return this.timeStamp; } public static final class Builder { private String area; private Float max95Bps; private String max95BpsPeakTime; private String timeStamp; private Builder() { } private Builder(Max95Detail model) { this.area = model.area; this.max95Bps = model.max95Bps; this.max95BpsPeakTime = model.max95BpsPeakTime; this.timeStamp = model.timeStamp; } /** * <p>The billable region where the peak 95 data was collected.</p> * * <strong>example:</strong> * <p>CN</p> */ public Builder area(String area) { this.area = area; return this; } /** * <p>The 95th percentile bandwidth.</p> * * <strong>example:</strong> * <p>16777590.28</p> */ public Builder max95Bps(Float max95Bps) { this.max95Bps = max95Bps; return this; } /** * <p>The time corresponding to the 95th percentile bandwidth peak.</p> * * <strong>example:</strong> * <p>2015-12-11T21:05:00Z</p> */ public Builder max95BpsPeakTime(String max95BpsPeakTime) { this.max95BpsPeakTime = max95BpsPeakTime; return this; } /** * <p>The timestamp of the returned data.</p> * * <strong>example:</strong> * <p>2024-01-18 10:11:32</p> */ public Builder timeStamp(String timeStamp) { this.timeStamp = timeStamp; return this; } public Max95Detail build() { return new Max95Detail(this); } } } /** * * {@link DescribeVodDomainMax95BpsDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainMax95BpsDataResponseBody</p> */ public static class DetailData extends TeaModel { @com.aliyun.core.annotation.NameInMap("Max95Detail") private java.util.List<Max95Detail> max95Detail; private DetailData(Builder builder) { this.max95Detail = builder.max95Detail; } public static Builder builder() { return new Builder(); } public static DetailData create() { return builder().build(); } /** * @return max95Detail */ public java.util.List<Max95Detail> getMax95Detail() { return this.max95Detail; } public static final class Builder { private java.util.List<Max95Detail> max95Detail; private Builder() { } private Builder(DetailData model) { this.max95Detail = model.max95Detail; } /** * Max95Detail. */ public Builder max95Detail(java.util.List<Max95Detail> max95Detail) { this.max95Detail = max95Detail; return this; } public DetailData build() { return new DetailData(this); } } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainQpsDataRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainQpsDataRequest} extends {@link RequestModel} * * <p>DescribeVodDomainQpsDataRequest</p> */ public class DescribeVodDomainQpsDataRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DomainName") private String domainName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Interval") private String interval; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("IspNameEn") private String ispNameEn; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("LocationNameEn") private String locationNameEn; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; private DescribeVodDomainQpsDataRequest(Builder builder) { super(builder); this.domainName = builder.domainName; this.endTime = builder.endTime; this.interval = builder.interval; this.ispNameEn = builder.ispNameEn; this.locationNameEn = builder.locationNameEn; this.ownerId = builder.ownerId; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static DescribeVodDomainQpsDataRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return domainName */ public String getDomainName() { return this.domainName; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return interval */ public String getInterval() { return this.interval; } /** * @return ispNameEn */ public String getIspNameEn() { return this.ispNameEn; } /** * @return locationNameEn */ public String getLocationNameEn() { return this.locationNameEn; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder extends Request.Builder<DescribeVodDomainQpsDataRequest, Builder> { private String domainName; private String endTime; private String interval; private String ispNameEn; private String locationNameEn; private Long ownerId; private String startTime; private Builder() { super(); } private Builder(DescribeVodDomainQpsDataRequest request) { super(request); this.domainName = request.domainName; this.endTime = request.endTime; this.interval = request.interval; this.ispNameEn = request.ispNameEn; this.locationNameEn = request.locationNameEn; this.ownerId = request.ownerId; this.startTime = request.startTime; } /** * <p>You can specify multiple domain names and separate them with commas (,). You can specify a maximum of 500 domain names in each call.</p> * <p>By default, this operation queries the number and proportions of HTTP status codes for all accelerated domain names that belong to your Alibaba Cloud account.</p> * * <strong>example:</strong> * <p>example.com</p> */ public Builder domainName(String domainName) { this.putQueryParameter("DomainName", domainName); this.domainName = domainName; return this; } /** * <p>The end of the time range to query. Specify the time in the ISO 8601 standard in the <em>yyyy-MM-dd**THH:mm:ssZ</em> format. The time must be in UTC.</p> * * <strong>example:</strong> * <p>2024-05-02T15:59:00Z</p> */ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * <p>The interval at which to return data. Unit: seconds. Valid values: <strong>300</strong>, <strong>3600</strong>, and <strong>86400</strong>.</p> * * <strong>example:</strong> * <p>300</p> */ public Builder interval(String interval) { this.putQueryParameter("Interval", interval); this.interval = interval; return this; } /** * <p>The name of the Internet service provider (ISP). If you leave this parameter empty, data of all ISPs is queried.</p> * * <strong>example:</strong> * <p>unicom</p> */ public Builder ispNameEn(String ispNameEn) { this.putQueryParameter("IspNameEn", ispNameEn); this.ispNameEn = ispNameEn; return this; } /** * <p>The name of the region. If you leave this parameter empty, data in all regions is queried.</p> * * <strong>example:</strong> * <p>beijing</p> */ public Builder locationNameEn(String locationNameEn) { this.putQueryParameter("LocationNameEn", locationNameEn); this.locationNameEn = locationNameEn; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * <p>The beginning of the time range to query. Specify the time in the ISO 8601 standard in the <em>yyyy-MM-dd**THH:mm:ssZ</em> format. The time must be in UTC.</p> * * <strong>example:</strong> * <p>2024-05-02T15:50:00Z</p> */ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } @Override public DescribeVodDomainQpsDataRequest build() { return new DescribeVodDomainQpsDataRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainQpsDataResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainQpsDataResponse} extends {@link TeaModel} * * <p>DescribeVodDomainQpsDataResponse</p> */ public class DescribeVodDomainQpsDataResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeVodDomainQpsDataResponseBody body; private DescribeVodDomainQpsDataResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVodDomainQpsDataResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeVodDomainQpsDataResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVodDomainQpsDataResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVodDomainQpsDataResponseBody body); @Override DescribeVodDomainQpsDataResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVodDomainQpsDataResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVodDomainQpsDataResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVodDomainQpsDataResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeVodDomainQpsDataResponseBody body) { this.body = body; return this; } @Override public DescribeVodDomainQpsDataResponse build() { return new DescribeVodDomainQpsDataResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainQpsDataResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainQpsDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainQpsDataResponseBody</p> */ public class DescribeVodDomainQpsDataResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DataInterval") private String dataInterval; @com.aliyun.core.annotation.NameInMap("DomainName") private String domainName; @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.NameInMap("QpsDataInterval") private QpsDataInterval qpsDataInterval; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; private DescribeVodDomainQpsDataResponseBody(Builder builder) { this.dataInterval = builder.dataInterval; this.domainName = builder.domainName; this.endTime = builder.endTime; this.qpsDataInterval = builder.qpsDataInterval; this.requestId = builder.requestId; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static DescribeVodDomainQpsDataResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return dataInterval */ public String getDataInterval() { return this.dataInterval; } /** * @return domainName */ public String getDomainName() { return this.domainName; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return qpsDataInterval */ public QpsDataInterval getQpsDataInterval() { return this.qpsDataInterval; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder { private String dataInterval; private String domainName; private String endTime; private QpsDataInterval qpsDataInterval; private String requestId; private String startTime; private Builder() { } private Builder(DescribeVodDomainQpsDataResponseBody model) { this.dataInterval = model.dataInterval; this.domainName = model.domainName; this.endTime = model.endTime; this.qpsDataInterval = model.qpsDataInterval; this.requestId = model.requestId; this.startTime = model.startTime; } /** * <p>The time interval between the data entries returned. Unit: seconds.</p> * * <strong>example:</strong> * <p>300</p> */ public Builder dataInterval(String dataInterval) { this.dataInterval = dataInterval; return this; } /** * <p>The accelerated domain name.</p> * * <strong>example:</strong> * <p>example.com</p> */ public Builder domainName(String domainName) { this.domainName = domainName; return this; } /** * <p>The end of the time range during which data was queried. The time follows the ISO 8601 standard in the <em>YYYY-MM-DD**Thh:mm:ss</em> format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2024-05-02T15:59:00Z</p> */ public Builder endTime(String endTime) { this.endTime = endTime; return this; } /** * <p>The list of QPS records at each interval.</p> */ public Builder qpsDataInterval(QpsDataInterval qpsDataInterval) { this.qpsDataInterval = qpsDataInterval; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>25818875-5F78-4AF6-D7393642CA58*****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The beginning of the time range during which data was queried. The time follows the ISO 8601 standard in the <em>YYYY-MM-DD**Thh:mm:ss</em> format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2024-05-02T15:50:00Z</p> */ public Builder startTime(String startTime) { this.startTime = startTime; return this; } public DescribeVodDomainQpsDataResponseBody build() { return new DescribeVodDomainQpsDataResponseBody(this); } } /** * * {@link DescribeVodDomainQpsDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainQpsDataResponseBody</p> */ public static class DataModule extends TeaModel { @com.aliyun.core.annotation.NameInMap("AccDomesticValue") private String accDomesticValue; @com.aliyun.core.annotation.NameInMap("AccOverseasValue") private String accOverseasValue; @com.aliyun.core.annotation.NameInMap("AccValue") private String accValue; @com.aliyun.core.annotation.NameInMap("DomesticValue") private String domesticValue; @com.aliyun.core.annotation.NameInMap("HttpsAccDomesticValue") private String httpsAccDomesticValue; @com.aliyun.core.annotation.NameInMap("HttpsAccOverseasValue") private String httpsAccOverseasValue; @com.aliyun.core.annotation.NameInMap("HttpsAccValue") private String httpsAccValue; @com.aliyun.core.annotation.NameInMap("HttpsDomesticValue") private String httpsDomesticValue; @com.aliyun.core.annotation.NameInMap("HttpsOverseasValue") private String httpsOverseasValue; @com.aliyun.core.annotation.NameInMap("HttpsValue") private String httpsValue; @com.aliyun.core.annotation.NameInMap("OverseasValue") private String overseasValue; @com.aliyun.core.annotation.NameInMap("TimeStamp") private String timeStamp; @com.aliyun.core.annotation.NameInMap("Value") private String value; private DataModule(Builder builder) { this.accDomesticValue = builder.accDomesticValue; this.accOverseasValue = builder.accOverseasValue; this.accValue = builder.accValue; this.domesticValue = builder.domesticValue; this.httpsAccDomesticValue = builder.httpsAccDomesticValue; this.httpsAccOverseasValue = builder.httpsAccOverseasValue; this.httpsAccValue = builder.httpsAccValue; this.httpsDomesticValue = builder.httpsDomesticValue; this.httpsOverseasValue = builder.httpsOverseasValue; this.httpsValue = builder.httpsValue; this.overseasValue = builder.overseasValue; this.timeStamp = builder.timeStamp; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static DataModule create() { return builder().build(); } /** * @return accDomesticValue */ public String getAccDomesticValue() { return this.accDomesticValue; } /** * @return accOverseasValue */ public String getAccOverseasValue() { return this.accOverseasValue; } /** * @return accValue */ public String getAccValue() { return this.accValue; } /** * @return domesticValue */ public String getDomesticValue() { return this.domesticValue; } /** * @return httpsAccDomesticValue */ public String getHttpsAccDomesticValue() { return this.httpsAccDomesticValue; } /** * @return httpsAccOverseasValue */ public String getHttpsAccOverseasValue() { return this.httpsAccOverseasValue; } /** * @return httpsAccValue */ public String getHttpsAccValue() { return this.httpsAccValue; } /** * @return httpsDomesticValue */ public String getHttpsDomesticValue() { return this.httpsDomesticValue; } /** * @return httpsOverseasValue */ public String getHttpsOverseasValue() { return this.httpsOverseasValue; } /** * @return httpsValue */ public String getHttpsValue() { return this.httpsValue; } /** * @return overseasValue */ public String getOverseasValue() { return this.overseasValue; } /** * @return timeStamp */ public String getTimeStamp() { return this.timeStamp; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String accDomesticValue; private String accOverseasValue; private String accValue; private String domesticValue; private String httpsAccDomesticValue; private String httpsAccOverseasValue; private String httpsAccValue; private String httpsDomesticValue; private String httpsOverseasValue; private String httpsValue; private String overseasValue; private String timeStamp; private String value; private Builder() { } private Builder(DataModule model) { this.accDomesticValue = model.accDomesticValue; this.accOverseasValue = model.accOverseasValue; this.accValue = model.accValue; this.domesticValue = model.domesticValue; this.httpsAccDomesticValue = model.httpsAccDomesticValue; this.httpsAccOverseasValue = model.httpsAccOverseasValue; this.httpsAccValue = model.httpsAccValue; this.httpsDomesticValue = model.httpsDomesticValue; this.httpsOverseasValue = model.httpsOverseasValue; this.httpsValue = model.httpsValue; this.overseasValue = model.overseasValue; this.timeStamp = model.timeStamp; this.value = model.value; } /** * <p>The number of requests in the Chinese mainland.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder accDomesticValue(String accDomesticValue) { this.accDomesticValue = accDomesticValue; return this; } /** * <p>The number of requests outside the Chinese mainland.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder accOverseasValue(String accOverseasValue) { this.accOverseasValue = accOverseasValue; return this; } /** * <p>The total number of requests.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder accValue(String accValue) { this.accValue = accValue; return this; } /** * <p>The QPS data in the Chinese mainland.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder domesticValue(String domesticValue) { this.domesticValue = domesticValue; return this; } /** * <p>The QPS that is calculated based on the HTTPS requests sent to POPs in the Chinese mainland.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder httpsAccDomesticValue(String httpsAccDomesticValue) { this.httpsAccDomesticValue = httpsAccDomesticValue; return this; } /** * <p>The number of HTTPS requests sent to POPs outside the Chinese mainland.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder httpsAccOverseasValue(String httpsAccOverseasValue) { this.httpsAccOverseasValue = httpsAccOverseasValue; return this; } /** * <p>The number of HTTPS requests sent to POPs.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder httpsAccValue(String httpsAccValue) { this.httpsAccValue = httpsAccValue; return this; } /** * <p>The QPS that is calculated based on the HTTPS requests sent to POPs in the Chinese mainland.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder httpsDomesticValue(String httpsDomesticValue) { this.httpsDomesticValue = httpsDomesticValue; return this; } /** * <p>The QPS that is calculated based on the HTTPS requests sent to POPs outside the Chinese mainland.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder httpsOverseasValue(String httpsOverseasValue) { this.httpsOverseasValue = httpsOverseasValue; return this; } /** * <p>The QPS that is calculated based on the HTTPS requests sent to points of presence (POPs).</p> * * <strong>example:</strong> * <p>1</p> */ public Builder httpsValue(String httpsValue) { this.httpsValue = httpsValue; return this; } /** * <p>The QPS data outside the Chinese mainland.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder overseasValue(String overseasValue) { this.overseasValue = overseasValue; return this; } /** * <p>The timestamp of the data returned. The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ss format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2023-06-27 10:10:58</p> */ public Builder timeStamp(String timeStamp) { this.timeStamp = timeStamp; return this; } /** * <p>The total QPS.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder value(String value) { this.value = value; return this; } public DataModule build() { return new DataModule(this); } } } /** * * {@link DescribeVodDomainQpsDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainQpsDataResponseBody</p> */ public static class QpsDataInterval extends TeaModel { @com.aliyun.core.annotation.NameInMap("DataModule") private java.util.List<DataModule> dataModule; private QpsDataInterval(Builder builder) { this.dataModule = builder.dataModule; } public static Builder builder() { return new Builder(); } public static QpsDataInterval create() { return builder().build(); } /** * @return dataModule */ public java.util.List<DataModule> getDataModule() { return this.dataModule; } public static final class Builder { private java.util.List<DataModule> dataModule; private Builder() { } private Builder(QpsDataInterval model) { this.dataModule = model.dataModule; } /** * DataModule. */ public Builder dataModule(java.util.List<DataModule> dataModule) { this.dataModule = dataModule; return this; } public QpsDataInterval build() { return new QpsDataInterval(this); } } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainRealTimeBpsDataRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainRealTimeBpsDataRequest} extends {@link RequestModel} * * <p>DescribeVodDomainRealTimeBpsDataRequest</p> */ public class DescribeVodDomainRealTimeBpsDataRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DomainName") @com.aliyun.core.annotation.Validation(required = true) private String domainName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("IspNameEn") private String ispNameEn; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("LocationNameEn") private String locationNameEn; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; private DescribeVodDomainRealTimeBpsDataRequest(Builder builder) { super(builder); this.domainName = builder.domainName; this.endTime = builder.endTime; this.ispNameEn = builder.ispNameEn; this.locationNameEn = builder.locationNameEn; this.ownerId = builder.ownerId; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static DescribeVodDomainRealTimeBpsDataRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return domainName */ public String getDomainName() { return this.domainName; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return ispNameEn */ public String getIspNameEn() { return this.ispNameEn; } /** * @return locationNameEn */ public String getLocationNameEn() { return this.locationNameEn; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder extends Request.Builder<DescribeVodDomainRealTimeBpsDataRequest, Builder> { private String domainName; private String endTime; private String ispNameEn; private String locationNameEn; private Long ownerId; private String startTime; private Builder() { super(); } private Builder(DescribeVodDomainRealTimeBpsDataRequest request) { super(request); this.domainName = request.domainName; this.endTime = request.endTime; this.ispNameEn = request.ispNameEn; this.locationNameEn = request.locationNameEn; this.ownerId = request.ownerId; this.startTime = request.startTime; } /** * <p>You can specify multiple domain names and separate them with commas (,). You can specify a maximum of 500 domain names in each call.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>example.com</p> */ public Builder domainName(String domainName) { this.putQueryParameter("DomainName", domainName); this.domainName = domainName; return this; } /** * <p>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.</p> * <blockquote> * <p> The end time must be later than the start time.</p> * </blockquote> * * <strong>example:</strong> * <p>2019-11-30T05:40:00Z</p> */ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * <p>The name of the ISP. If you do not set this parameter, all ISPs are queried.</p> * * <strong>example:</strong> * <p>telecom</p> */ public Builder ispNameEn(String ispNameEn) { this.putQueryParameter("IspNameEn", ispNameEn); this.ispNameEn = ispNameEn; return this; } /** * <p>The name of the region. If you do not set this parameter, data in all regions is queried.</p> * * <strong>example:</strong> * <p>shanghai</p> */ public Builder locationNameEn(String locationNameEn) { this.putQueryParameter("LocationNameEn", locationNameEn); this.locationNameEn = locationNameEn; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * <p>The beginning of the time range to query.</p> * <p>Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.</p> * * <strong>example:</strong> * <p>2019-11-30T05:33:00Z</p> */ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } @Override public DescribeVodDomainRealTimeBpsDataRequest build() { return new DescribeVodDomainRealTimeBpsDataRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainRealTimeBpsDataResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainRealTimeBpsDataResponse} extends {@link TeaModel} * * <p>DescribeVodDomainRealTimeBpsDataResponse</p> */ public class DescribeVodDomainRealTimeBpsDataResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeVodDomainRealTimeBpsDataResponseBody body; private DescribeVodDomainRealTimeBpsDataResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVodDomainRealTimeBpsDataResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeVodDomainRealTimeBpsDataResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVodDomainRealTimeBpsDataResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVodDomainRealTimeBpsDataResponseBody body); @Override DescribeVodDomainRealTimeBpsDataResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVodDomainRealTimeBpsDataResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVodDomainRealTimeBpsDataResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVodDomainRealTimeBpsDataResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeVodDomainRealTimeBpsDataResponseBody body) { this.body = body; return this; } @Override public DescribeVodDomainRealTimeBpsDataResponse build() { return new DescribeVodDomainRealTimeBpsDataResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainRealTimeBpsDataResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainRealTimeBpsDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainRealTimeBpsDataResponseBody</p> */ public class DescribeVodDomainRealTimeBpsDataResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeVodDomainRealTimeBpsDataResponseBody(Builder builder) { this.data = builder.data; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeVodDomainRealTimeBpsDataResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return data */ public Data getData() { return this.data; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Data data; private String requestId; private Builder() { } private Builder(DescribeVodDomainRealTimeBpsDataResponseBody model) { this.data = model.data; this.requestId = model.requestId; } /** * <p>The returned data.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>B49E6DDA-F413-422B-B58E-2FA23F286726</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeVodDomainRealTimeBpsDataResponseBody build() { return new DescribeVodDomainRealTimeBpsDataResponseBody(this); } } /** * * {@link DescribeVodDomainRealTimeBpsDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainRealTimeBpsDataResponseBody</p> */ public static class BpsModel extends TeaModel { @com.aliyun.core.annotation.NameInMap("Bps") private Float bps; @com.aliyun.core.annotation.NameInMap("TimeStamp") private String timeStamp; private BpsModel(Builder builder) { this.bps = builder.bps; this.timeStamp = builder.timeStamp; } public static Builder builder() { return new Builder(); } public static BpsModel create() { return builder().build(); } /** * @return bps */ public Float getBps() { return this.bps; } /** * @return timeStamp */ public String getTimeStamp() { return this.timeStamp; } public static final class Builder { private Float bps; private String timeStamp; private Builder() { } private Builder(BpsModel model) { this.bps = model.bps; this.timeStamp = model.timeStamp; } /** * <p>The bandwidth. Unit: bit/s.</p> * * <strong>example:</strong> * <p>16710625.733333332</p> */ public Builder bps(Float bps) { this.bps = bps; return this; } /** * <p>The timestamp of the data returned. The time follows the ISO 8601 standard. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2019-11-30T05:41:00Z</p> */ public Builder timeStamp(String timeStamp) { this.timeStamp = timeStamp; return this; } public BpsModel build() { return new BpsModel(this); } } } /** * * {@link DescribeVodDomainRealTimeBpsDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainRealTimeBpsDataResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("BpsModel") private java.util.List<BpsModel> bpsModel; private Data(Builder builder) { this.bpsModel = builder.bpsModel; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return bpsModel */ public java.util.List<BpsModel> getBpsModel() { return this.bpsModel; } public static final class Builder { private java.util.List<BpsModel> bpsModel; private Builder() { } private Builder(Data model) { this.bpsModel = model.bpsModel; } /** * BpsModel. */ public Builder bpsModel(java.util.List<BpsModel> bpsModel) { this.bpsModel = bpsModel; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainRealTimeByteHitRateDataRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainRealTimeByteHitRateDataRequest} extends {@link RequestModel} * * <p>DescribeVodDomainRealTimeByteHitRateDataRequest</p> */ public class DescribeVodDomainRealTimeByteHitRateDataRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DomainName") @com.aliyun.core.annotation.Validation(required = true) private String domainName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; private DescribeVodDomainRealTimeByteHitRateDataRequest(Builder builder) { super(builder); this.domainName = builder.domainName; this.endTime = builder.endTime; this.ownerId = builder.ownerId; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static DescribeVodDomainRealTimeByteHitRateDataRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return domainName */ public String getDomainName() { return this.domainName; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder extends Request.Builder<DescribeVodDomainRealTimeByteHitRateDataRequest, Builder> { private String domainName; private String endTime; private Long ownerId; private String startTime; private Builder() { super(); } private Builder(DescribeVodDomainRealTimeByteHitRateDataRequest request) { super(request); this.domainName = request.domainName; this.endTime = request.endTime; this.ownerId = request.ownerId; this.startTime = request.startTime; } /** * <p>You can specify multiple domain names and separate them with commas (,). You can specify at most 100 domain names in each call.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>example.com</p> */ public Builder domainName(String domainName) { this.putQueryParameter("DomainName", domainName); this.domainName = domainName; return this; } /** * <p>The end of the time range to query.</p> * <p>Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.</p> * <blockquote> * <p> The end time must be later than the start time.</p> * </blockquote> * * <strong>example:</strong> * <p>2020-05-15T09:15:00Z</p> */ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * <p>The beginning of the time range to query.</p> * <p>Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.</p> * * <strong>example:</strong> * <p>2020-05-15T09:13:00Z</p> */ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } @Override public DescribeVodDomainRealTimeByteHitRateDataRequest build() { return new DescribeVodDomainRealTimeByteHitRateDataRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainRealTimeByteHitRateDataResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainRealTimeByteHitRateDataResponse} extends {@link TeaModel} * * <p>DescribeVodDomainRealTimeByteHitRateDataResponse</p> */ public class DescribeVodDomainRealTimeByteHitRateDataResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeVodDomainRealTimeByteHitRateDataResponseBody body; private DescribeVodDomainRealTimeByteHitRateDataResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVodDomainRealTimeByteHitRateDataResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeVodDomainRealTimeByteHitRateDataResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVodDomainRealTimeByteHitRateDataResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVodDomainRealTimeByteHitRateDataResponseBody body); @Override DescribeVodDomainRealTimeByteHitRateDataResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVodDomainRealTimeByteHitRateDataResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVodDomainRealTimeByteHitRateDataResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVodDomainRealTimeByteHitRateDataResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeVodDomainRealTimeByteHitRateDataResponseBody body) { this.body = body; return this; } @Override public DescribeVodDomainRealTimeByteHitRateDataResponse build() { return new DescribeVodDomainRealTimeByteHitRateDataResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainRealTimeByteHitRateDataResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainRealTimeByteHitRateDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainRealTimeByteHitRateDataResponseBody</p> */ public class DescribeVodDomainRealTimeByteHitRateDataResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeVodDomainRealTimeByteHitRateDataResponseBody(Builder builder) { this.data = builder.data; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeVodDomainRealTimeByteHitRateDataResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return data */ public Data getData() { return this.data; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Data data; private String requestId; private Builder() { } private Builder(DescribeVodDomainRealTimeByteHitRateDataResponseBody model) { this.data = model.data; this.requestId = model.requestId; } /** * <p>The returned data.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>70A26B11-3673-479C-AEA8-E03FC5D3496D</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeVodDomainRealTimeByteHitRateDataResponseBody build() { return new DescribeVodDomainRealTimeByteHitRateDataResponseBody(this); } } /** * * {@link DescribeVodDomainRealTimeByteHitRateDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainRealTimeByteHitRateDataResponseBody</p> */ public static class ByteHitRateDataModel extends TeaModel { @com.aliyun.core.annotation.NameInMap("ByteHitRate") private Float byteHitRate; @com.aliyun.core.annotation.NameInMap("TimeStamp") private String timeStamp; private ByteHitRateDataModel(Builder builder) { this.byteHitRate = builder.byteHitRate; this.timeStamp = builder.timeStamp; } public static Builder builder() { return new Builder(); } public static ByteHitRateDataModel create() { return builder().build(); } /** * @return byteHitRate */ public Float getByteHitRate() { return this.byteHitRate; } /** * @return timeStamp */ public String getTimeStamp() { return this.timeStamp; } public static final class Builder { private Float byteHitRate; private String timeStamp; private Builder() { } private Builder(ByteHitRateDataModel model) { this.byteHitRate = model.byteHitRate; this.timeStamp = model.timeStamp; } /** * <p>The byte hit ratio in percentage.</p> * * <strong>example:</strong> * <p>0.8956940476262277</p> */ public Builder byteHitRate(Float byteHitRate) { this.byteHitRate = byteHitRate; return this; } /** * <p>The timestamp of the data returned. The time follows the ISO 8601 standard. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2020-05-15T09:13:00Z</p> */ public Builder timeStamp(String timeStamp) { this.timeStamp = timeStamp; return this; } public ByteHitRateDataModel build() { return new ByteHitRateDataModel(this); } } } /** * * {@link DescribeVodDomainRealTimeByteHitRateDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainRealTimeByteHitRateDataResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("ByteHitRateDataModel") private java.util.List<ByteHitRateDataModel> byteHitRateDataModel; private Data(Builder builder) { this.byteHitRateDataModel = builder.byteHitRateDataModel; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return byteHitRateDataModel */ public java.util.List<ByteHitRateDataModel> getByteHitRateDataModel() { return this.byteHitRateDataModel; } public static final class Builder { private java.util.List<ByteHitRateDataModel> byteHitRateDataModel; private Builder() { } private Builder(Data model) { this.byteHitRateDataModel = model.byteHitRateDataModel; } /** * ByteHitRateDataModel. */ public Builder byteHitRateDataModel(java.util.List<ByteHitRateDataModel> byteHitRateDataModel) { this.byteHitRateDataModel = byteHitRateDataModel; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainRealTimeDetailDataRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainRealTimeDetailDataRequest} extends {@link RequestModel} * * <p>DescribeVodDomainRealTimeDetailDataRequest</p> */ public class DescribeVodDomainRealTimeDetailDataRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DomainName") @com.aliyun.core.annotation.Validation(required = true) private String domainName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EndTime") @com.aliyun.core.annotation.Validation(required = true) private String endTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Field") @com.aliyun.core.annotation.Validation(required = true) private String field; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("IspNameEn") private String ispNameEn; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("LocationNameEn") private String locationNameEn; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Merge") private String merge; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MergeLocIsp") private String mergeLocIsp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") @com.aliyun.core.annotation.Validation(required = true) private String startTime; private DescribeVodDomainRealTimeDetailDataRequest(Builder builder) { super(builder); this.domainName = builder.domainName; this.endTime = builder.endTime; this.field = builder.field; this.ispNameEn = builder.ispNameEn; this.locationNameEn = builder.locationNameEn; this.merge = builder.merge; this.mergeLocIsp = builder.mergeLocIsp; this.ownerId = builder.ownerId; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static DescribeVodDomainRealTimeDetailDataRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return domainName */ public String getDomainName() { return this.domainName; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return field */ public String getField() { return this.field; } /** * @return ispNameEn */ public String getIspNameEn() { return this.ispNameEn; } /** * @return locationNameEn */ public String getLocationNameEn() { return this.locationNameEn; } /** * @return merge */ public String getMerge() { return this.merge; } /** * @return mergeLocIsp */ public String getMergeLocIsp() { return this.mergeLocIsp; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder extends Request.Builder<DescribeVodDomainRealTimeDetailDataRequest, Builder> { private String domainName; private String endTime; private String field; private String ispNameEn; private String locationNameEn; private String merge; private String mergeLocIsp; private Long ownerId; private String startTime; private Builder() { super(); } private Builder(DescribeVodDomainRealTimeDetailDataRequest request) { super(request); this.domainName = request.domainName; this.endTime = request.endTime; this.field = request.field; this.ispNameEn = request.ispNameEn; this.locationNameEn = request.locationNameEn; this.merge = request.merge; this.mergeLocIsp = request.mergeLocIsp; this.ownerId = request.ownerId; this.startTime = request.startTime; } /** * <p>The accelerated domain name. You can specify a maximum of 20 accelerated domain names in each call. Separate domain names with commas (,).</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>example.com</p> */ public Builder domainName(String domainName) { this.putQueryParameter("DomainName", domainName); this.domainName = domainName; return this; } /** * <p>The end of the time range to query.</p> * <p>Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. Example: 2019-11-30T05:40:00Z.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2019-01-23T12:40:00Z</p> */ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * <p>The type of data that you want to query. You can specify multiple data types and separate them with commas (,). Valid values:</p> * <p>qps: the number of queries per second bps: bandwidth data http_code: HTTP status codes</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>bps</p> */ public Builder field(String field) { this.putQueryParameter("Field", field); this.field = field; return this; } /** * <p>The name of the Internet service provider (ISP).</p> * * <strong>example:</strong> * <p>unicom</p> */ public Builder ispNameEn(String ispNameEn) { this.putQueryParameter("IspNameEn", ispNameEn); this.ispNameEn = ispNameEn; return this; } /** * <p>The name of the region. If you do not specify a region, data in all regions is queried.</p> * * <strong>example:</strong> * <p>shanghai</p> */ public Builder locationNameEn(String locationNameEn) { this.putQueryParameter("LocationNameEn", locationNameEn); this.locationNameEn = locationNameEn; return this; } /** * <p>Specifies whether to return a summary value. Valid values:</p> * <p>true false (default)</p> * * <strong>example:</strong> * <p>false</p> */ public Builder merge(String merge) { this.putQueryParameter("Merge", merge); this.merge = merge; return this; } /** * <p>Specifies whether to return a summary value. Valid values:</p> * <ul> * <li><strong>true</strong>: groups the results by domain name and merges the results by region and ISP.</li> * <li><strong>false</strong>: groups the results by domain name.</li> * </ul> * <p>Default value: <strong>false</strong>.</p> * * <strong>example:</strong> * <p>true</p> */ public Builder mergeLocIsp(String mergeLocIsp) { this.putQueryParameter("MergeLocIsp", mergeLocIsp); this.mergeLocIsp = mergeLocIsp; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * <p>The beginning of the time range to query.</p> * <p>Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. Example: 2019-11-30T05:33:00Z.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2019-01-23T12:35:12Z</p> */ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } @Override public DescribeVodDomainRealTimeDetailDataRequest build() { return new DescribeVodDomainRealTimeDetailDataRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainRealTimeDetailDataResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainRealTimeDetailDataResponse} extends {@link TeaModel} * * <p>DescribeVodDomainRealTimeDetailDataResponse</p> */ public class DescribeVodDomainRealTimeDetailDataResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeVodDomainRealTimeDetailDataResponseBody body; private DescribeVodDomainRealTimeDetailDataResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVodDomainRealTimeDetailDataResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeVodDomainRealTimeDetailDataResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVodDomainRealTimeDetailDataResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVodDomainRealTimeDetailDataResponseBody body); @Override DescribeVodDomainRealTimeDetailDataResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVodDomainRealTimeDetailDataResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVodDomainRealTimeDetailDataResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVodDomainRealTimeDetailDataResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeVodDomainRealTimeDetailDataResponseBody body) { this.body = body; return this; } @Override public DescribeVodDomainRealTimeDetailDataResponse build() { return new DescribeVodDomainRealTimeDetailDataResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainRealTimeDetailDataResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainRealTimeDetailDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainRealTimeDetailDataResponseBody</p> */ public class DescribeVodDomainRealTimeDetailDataResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private String data; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeVodDomainRealTimeDetailDataResponseBody(Builder builder) { this.data = builder.data; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeVodDomainRealTimeDetailDataResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return data */ public String getData() { return this.data; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String data; private String requestId; private Builder() { } private Builder(DescribeVodDomainRealTimeDetailDataResponseBody model) { this.data = model.data; this.requestId = model.requestId; } /** * <p>The returned results.</p> * * <strong>example:</strong> * <p>[ * { * &quot;time_stp&quot;: &quot;2018-06-05T20:00:00Z&quot;, * &quot;domain_name&quot;: &quot;example.com&quot;, * &quot;location&quot;: &quot;Guangdong&quot;, * &quot;isp&quot;: &quot;telecom&quot;, * &quot;qps&quot;: 10 * }, * { * &quot;time_stp&quot;: &quot;2018-06-05T20:00:00Z&quot;, * &quot;domain_name&quot;: &quot;example.com&quot;, * &quot;location&quot;: &quot;Jiangsu&quot;, * &quot;isp&quot;: &quot;unicom&quot;, * &quot;qps&quot;: 11.1 * } * ]</p> */ public Builder data(String data) { this.data = data; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>1710298E-8AFA-5F6D-A3E9-47103C52177D</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeVodDomainRealTimeDetailDataResponseBody build() { return new DescribeVodDomainRealTimeDetailDataResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainRealTimeHttpCodeDataRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainRealTimeHttpCodeDataRequest} extends {@link RequestModel} * * <p>DescribeVodDomainRealTimeHttpCodeDataRequest</p> */ public class DescribeVodDomainRealTimeHttpCodeDataRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DomainName") @com.aliyun.core.annotation.Validation(required = true) private String domainName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("IspNameEn") private String ispNameEn; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("LocationNameEn") private String locationNameEn; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; private DescribeVodDomainRealTimeHttpCodeDataRequest(Builder builder) { super(builder); this.domainName = builder.domainName; this.endTime = builder.endTime; this.ispNameEn = builder.ispNameEn; this.locationNameEn = builder.locationNameEn; this.ownerId = builder.ownerId; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static DescribeVodDomainRealTimeHttpCodeDataRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return domainName */ public String getDomainName() { return this.domainName; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return ispNameEn */ public String getIspNameEn() { return this.ispNameEn; } /** * @return locationNameEn */ public String getLocationNameEn() { return this.locationNameEn; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder extends Request.Builder<DescribeVodDomainRealTimeHttpCodeDataRequest, Builder> { private String domainName; private String endTime; private String ispNameEn; private String locationNameEn; private Long ownerId; private String startTime; private Builder() { super(); } private Builder(DescribeVodDomainRealTimeHttpCodeDataRequest request) { super(request); this.domainName = request.domainName; this.endTime = request.endTime; this.ispNameEn = request.ispNameEn; this.locationNameEn = request.locationNameEn; this.ownerId = request.ownerId; this.startTime = request.startTime; } /** * <p>The accelerated domain name.</p> * <ul> * <li>You can specify multiple domain names and separate them with commas (,). You can specify at most 100 domain names in each call.</li> * <li>If you specify multiple domain names, merged data is returned.</li> * <li>To obtain the accelerated domain name, perform the following steps: Log on to the <a href="https://vod.console.aliyun.com">ApsaraVideo VOD console</a>. In the left-side navigation pane, choose <strong>Configuration Management &gt; CDN Configuration &gt; Domain Names</strong>. On the Domain Names page, view the accelerated domain names. Alternatively, you can call the <a href="~~DescribeVodUserDomains~~">DescribeVodUserDomains</a> operation to query the accelerated domain names.</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>example.com</p> */ public Builder domainName(String domainName) { this.putQueryParameter("DomainName", domainName); this.domainName = domainName; return this; } /** * <p>The end of the time range to query.</p> * <p>Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.</p> * <blockquote> * <p> The end time must be later than the start time.</p> * </blockquote> * * <strong>example:</strong> * <p>2019-11-30T05:40:00Z</p> */ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * <p>The name of the ISP. If you do not set this parameter, all ISPs are queried.</p> * * <strong>example:</strong> * <p>unicom</p> */ public Builder ispNameEn(String ispNameEn) { this.putQueryParameter("IspNameEn", ispNameEn); this.ispNameEn = ispNameEn; return this; } /** * <p>The name of the region. If you do not set this parameter, data in all regions is queried.</p> * * <strong>example:</strong> * <p>shanghai</p> */ public Builder locationNameEn(String locationNameEn) { this.putQueryParameter("LocationNameEn", locationNameEn); this.locationNameEn = locationNameEn; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * <p>The beginning of the time range to query.</p> * <p>Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.</p> * * <strong>example:</strong> * <p>2019-11-30T05:39:00Z</p> */ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } @Override public DescribeVodDomainRealTimeHttpCodeDataRequest build() { return new DescribeVodDomainRealTimeHttpCodeDataRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainRealTimeHttpCodeDataResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainRealTimeHttpCodeDataResponse} extends {@link TeaModel} * * <p>DescribeVodDomainRealTimeHttpCodeDataResponse</p> */ public class DescribeVodDomainRealTimeHttpCodeDataResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeVodDomainRealTimeHttpCodeDataResponseBody body; private DescribeVodDomainRealTimeHttpCodeDataResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVodDomainRealTimeHttpCodeDataResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeVodDomainRealTimeHttpCodeDataResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVodDomainRealTimeHttpCodeDataResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVodDomainRealTimeHttpCodeDataResponseBody body); @Override DescribeVodDomainRealTimeHttpCodeDataResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVodDomainRealTimeHttpCodeDataResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVodDomainRealTimeHttpCodeDataResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVodDomainRealTimeHttpCodeDataResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeVodDomainRealTimeHttpCodeDataResponseBody body) { this.body = body; return this; } @Override public DescribeVodDomainRealTimeHttpCodeDataResponse build() { return new DescribeVodDomainRealTimeHttpCodeDataResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainRealTimeHttpCodeDataResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainRealTimeHttpCodeDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainRealTimeHttpCodeDataResponseBody</p> */ public class DescribeVodDomainRealTimeHttpCodeDataResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DataInterval") private String dataInterval; @com.aliyun.core.annotation.NameInMap("DomainName") private String domainName; @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.NameInMap("RealTimeHttpCodeData") private RealTimeHttpCodeData realTimeHttpCodeData; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; private DescribeVodDomainRealTimeHttpCodeDataResponseBody(Builder builder) { this.dataInterval = builder.dataInterval; this.domainName = builder.domainName; this.endTime = builder.endTime; this.realTimeHttpCodeData = builder.realTimeHttpCodeData; this.requestId = builder.requestId; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static DescribeVodDomainRealTimeHttpCodeDataResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return dataInterval */ public String getDataInterval() { return this.dataInterval; } /** * @return domainName */ public String getDomainName() { return this.domainName; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return realTimeHttpCodeData */ public RealTimeHttpCodeData getRealTimeHttpCodeData() { return this.realTimeHttpCodeData; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder { private String dataInterval; private String domainName; private String endTime; private RealTimeHttpCodeData realTimeHttpCodeData; private String requestId; private String startTime; private Builder() { } private Builder(DescribeVodDomainRealTimeHttpCodeDataResponseBody model) { this.dataInterval = model.dataInterval; this.domainName = model.domainName; this.endTime = model.endTime; this.realTimeHttpCodeData = model.realTimeHttpCodeData; this.requestId = model.requestId; this.startTime = model.startTime; } /** * <p>The time interval at which data is returned. Unit: seconds.</p> * <p>The returned value varies based on the time range per query. Valid values: 60 (1 minute), 300 (5 minutes), and 3600 (1 hour). For more information, see the <strong>Time granularity</strong> section in the <strong>API documentation</strong>.</p> * * <strong>example:</strong> * <p>60</p> */ public Builder dataInterval(String dataInterval) { this.dataInterval = dataInterval; return this; } /** * <p>The accelerated domain name.</p> * * <strong>example:</strong> * <p>example.com</p> */ public Builder domainName(String domainName) { this.domainName = domainName; return this; } /** * <p>The end of the time range.</p> * * <strong>example:</strong> * <p>2019-11-30T05:40:00Z</p> */ public Builder endTime(String endTime) { this.endTime = endTime; return this; } /** * <p>The proportion of each HTTP status code in each time interval.</p> */ public Builder realTimeHttpCodeData(RealTimeHttpCodeData realTimeHttpCodeData) { this.realTimeHttpCodeData = realTimeHttpCodeData; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>BC858082-736F-4A25-867B-E5B67C85ACF7</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The beginning of the time range.</p> * * <strong>example:</strong> * <p>2019-11-30T05:39:00Z</p> */ public Builder startTime(String startTime) { this.startTime = startTime; return this; } public DescribeVodDomainRealTimeHttpCodeDataResponseBody build() { return new DescribeVodDomainRealTimeHttpCodeDataResponseBody(this); } } /** * * {@link DescribeVodDomainRealTimeHttpCodeDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainRealTimeHttpCodeDataResponseBody</p> */ public static class RealTimeCodeProportionData extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Count") private String count; @com.aliyun.core.annotation.NameInMap("Proportion") private String proportion; private RealTimeCodeProportionData(Builder builder) { this.code = builder.code; this.count = builder.count; this.proportion = builder.proportion; } public static Builder builder() { return new Builder(); } public static RealTimeCodeProportionData create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return count */ public String getCount() { return this.count; } /** * @return proportion */ public String getProportion() { return this.proportion; } public static final class Builder { private String code; private String count; private String proportion; private Builder() { } private Builder(RealTimeCodeProportionData model) { this.code = model.code; this.count = model.count; this.proportion = model.proportion; } /** * <p>The HTTP status code.</p> * * <strong>example:</strong> * <p>500</p> */ public Builder code(String code) { this.code = code; return this; } /** * <p>The number of the HTTP status codes.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder count(String count) { this.count = count; return this; } /** * <p>The proportion of the HTTP status code in percentage.</p> * * <strong>example:</strong> * <p>28.4496124031008</p> */ public Builder proportion(String proportion) { this.proportion = proportion; return this; } public RealTimeCodeProportionData build() { return new RealTimeCodeProportionData(this); } } } /** * * {@link DescribeVodDomainRealTimeHttpCodeDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainRealTimeHttpCodeDataResponseBody</p> */ public static class Value extends TeaModel { @com.aliyun.core.annotation.NameInMap("RealTimeCodeProportionData") private java.util.List<RealTimeCodeProportionData> realTimeCodeProportionData; private Value(Builder builder) { this.realTimeCodeProportionData = builder.realTimeCodeProportionData; } public static Builder builder() { return new Builder(); } public static Value create() { return builder().build(); } /** * @return realTimeCodeProportionData */ public java.util.List<RealTimeCodeProportionData> getRealTimeCodeProportionData() { return this.realTimeCodeProportionData; } public static final class Builder { private java.util.List<RealTimeCodeProportionData> realTimeCodeProportionData; private Builder() { } private Builder(Value model) { this.realTimeCodeProportionData = model.realTimeCodeProportionData; } /** * RealTimeCodeProportionData. */ public Builder realTimeCodeProportionData(java.util.List<RealTimeCodeProportionData> realTimeCodeProportionData) { this.realTimeCodeProportionData = realTimeCodeProportionData; return this; } public Value build() { return new Value(this); } } } /** * * {@link DescribeVodDomainRealTimeHttpCodeDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainRealTimeHttpCodeDataResponseBody</p> */ public static class UsageData extends TeaModel { @com.aliyun.core.annotation.NameInMap("TimeStamp") private String timeStamp; @com.aliyun.core.annotation.NameInMap("Value") private Value value; private UsageData(Builder builder) { this.timeStamp = builder.timeStamp; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static UsageData create() { return builder().build(); } /** * @return timeStamp */ public String getTimeStamp() { return this.timeStamp; } /** * @return value */ public Value getValue() { return this.value; } public static final class Builder { private String timeStamp; private Value value; private Builder() { } private Builder(UsageData model) { this.timeStamp = model.timeStamp; this.value = model.value; } /** * <p>The timestamp of the data returned. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2019-11-30T05:39:00Z</p> */ public Builder timeStamp(String timeStamp) { this.timeStamp = timeStamp; return this; } /** * <p>The proportion of each HTTP status code is displayed in a data list.</p> */ public Builder value(Value value) { this.value = value; return this; } public UsageData build() { return new UsageData(this); } } } /** * * {@link DescribeVodDomainRealTimeHttpCodeDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainRealTimeHttpCodeDataResponseBody</p> */ public static class RealTimeHttpCodeData extends TeaModel { @com.aliyun.core.annotation.NameInMap("UsageData") private java.util.List<UsageData> usageData; private RealTimeHttpCodeData(Builder builder) { this.usageData = builder.usageData; } public static Builder builder() { return new Builder(); } public static RealTimeHttpCodeData create() { return builder().build(); } /** * @return usageData */ public java.util.List<UsageData> getUsageData() { return this.usageData; } public static final class Builder { private java.util.List<UsageData> usageData; private Builder() { } private Builder(RealTimeHttpCodeData model) { this.usageData = model.usageData; } /** * UsageData. */ public Builder usageData(java.util.List<UsageData> usageData) { this.usageData = usageData; return this; } public RealTimeHttpCodeData build() { return new RealTimeHttpCodeData(this); } } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainRealTimeQpsDataRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainRealTimeQpsDataRequest} extends {@link RequestModel} * * <p>DescribeVodDomainRealTimeQpsDataRequest</p> */ public class DescribeVodDomainRealTimeQpsDataRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DomainName") @com.aliyun.core.annotation.Validation(required = true) private String domainName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("IspNameEn") private String ispNameEn; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("LocationNameEn") private String locationNameEn; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; private DescribeVodDomainRealTimeQpsDataRequest(Builder builder) { super(builder); this.domainName = builder.domainName; this.endTime = builder.endTime; this.ispNameEn = builder.ispNameEn; this.locationNameEn = builder.locationNameEn; this.ownerId = builder.ownerId; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static DescribeVodDomainRealTimeQpsDataRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return domainName */ public String getDomainName() { return this.domainName; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return ispNameEn */ public String getIspNameEn() { return this.ispNameEn; } /** * @return locationNameEn */ public String getLocationNameEn() { return this.locationNameEn; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder extends Request.Builder<DescribeVodDomainRealTimeQpsDataRequest, Builder> { private String domainName; private String endTime; private String ispNameEn; private String locationNameEn; private Long ownerId; private String startTime; private Builder() { super(); } private Builder(DescribeVodDomainRealTimeQpsDataRequest request) { super(request); this.domainName = request.domainName; this.endTime = request.endTime; this.ispNameEn = request.ispNameEn; this.locationNameEn = request.locationNameEn; this.ownerId = request.ownerId; this.startTime = request.startTime; } /** * <p>You can specify multiple domain names and separate them with commas (,). You can specify a maximum of 500 domain names in each call.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>example.com</p> */ public Builder domainName(String domainName) { this.putQueryParameter("DomainName", domainName); this.domainName = domainName; return this; } /** * <p>The end of the time range to query.</p> * <p>Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.</p> * <blockquote> * <p> The end time must be later than the start time.</p> * </blockquote> * * <strong>example:</strong> * <p>2019-12-02T11:26:00Z</p> */ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * <p>The name of the Internet service provider (ISP). If you do not set this parameter, all ISPs are queried.</p> * * <strong>example:</strong> * <p>unicom</p> */ public Builder ispNameEn(String ispNameEn) { this.putQueryParameter("IspNameEn", ispNameEn); this.ispNameEn = ispNameEn; return this; } /** * <p>The name of the region. If you do not set this parameter, data in all regions is queried.</p> * * <strong>example:</strong> * <p>shanghai</p> */ public Builder locationNameEn(String locationNameEn) { this.putQueryParameter("LocationNameEn", locationNameEn); this.locationNameEn = locationNameEn; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * <p>The beginning of the time range to query.</p> * <p>Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.</p> * * <strong>example:</strong> * <p>2019-12-02T11:25:00Z</p> */ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } @Override public DescribeVodDomainRealTimeQpsDataRequest build() { return new DescribeVodDomainRealTimeQpsDataRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainRealTimeQpsDataResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainRealTimeQpsDataResponse} extends {@link TeaModel} * * <p>DescribeVodDomainRealTimeQpsDataResponse</p> */ public class DescribeVodDomainRealTimeQpsDataResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeVodDomainRealTimeQpsDataResponseBody body; private DescribeVodDomainRealTimeQpsDataResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVodDomainRealTimeQpsDataResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeVodDomainRealTimeQpsDataResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVodDomainRealTimeQpsDataResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVodDomainRealTimeQpsDataResponseBody body); @Override DescribeVodDomainRealTimeQpsDataResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVodDomainRealTimeQpsDataResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVodDomainRealTimeQpsDataResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVodDomainRealTimeQpsDataResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeVodDomainRealTimeQpsDataResponseBody body) { this.body = body; return this; } @Override public DescribeVodDomainRealTimeQpsDataResponse build() { return new DescribeVodDomainRealTimeQpsDataResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainRealTimeQpsDataResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainRealTimeQpsDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainRealTimeQpsDataResponseBody</p> */ public class DescribeVodDomainRealTimeQpsDataResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeVodDomainRealTimeQpsDataResponseBody(Builder builder) { this.data = builder.data; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeVodDomainRealTimeQpsDataResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return data */ public Data getData() { return this.data; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Data data; private String requestId; private Builder() { } private Builder(DescribeVodDomainRealTimeQpsDataResponseBody model) { this.data = model.data; this.requestId = model.requestId; } /** * <p>The returned data.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>32DC9806-E9F9-4490-BBDC-B3A9E32FCC1D</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeVodDomainRealTimeQpsDataResponseBody build() { return new DescribeVodDomainRealTimeQpsDataResponseBody(this); } } /** * * {@link DescribeVodDomainRealTimeQpsDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainRealTimeQpsDataResponseBody</p> */ public static class QpsModel extends TeaModel { @com.aliyun.core.annotation.NameInMap("Qps") private Float qps; @com.aliyun.core.annotation.NameInMap("TimeStamp") private String timeStamp; private QpsModel(Builder builder) { this.qps = builder.qps; this.timeStamp = builder.timeStamp; } public static Builder builder() { return new Builder(); } public static QpsModel create() { return builder().build(); } /** * @return qps */ public Float getQps() { return this.qps; } /** * @return timeStamp */ public String getTimeStamp() { return this.timeStamp; } public static final class Builder { private Float qps; private String timeStamp; private Builder() { } private Builder(QpsModel model) { this.qps = model.qps; this.timeStamp = model.timeStamp; } /** * <p>The number of queries per second.</p> * * <strong>example:</strong> * <p>1851.25</p> */ public Builder qps(Float qps) { this.qps = qps; return this; } /** * <p>The timestamp of the returned data. The time follows the ISO 8601 standard. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2019-12-02T11:25:00Z</p> */ public Builder timeStamp(String timeStamp) { this.timeStamp = timeStamp; return this; } public QpsModel build() { return new QpsModel(this); } } } /** * * {@link DescribeVodDomainRealTimeQpsDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainRealTimeQpsDataResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("QpsModel") private java.util.List<QpsModel> qpsModel; private Data(Builder builder) { this.qpsModel = builder.qpsModel; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return qpsModel */ public java.util.List<QpsModel> getQpsModel() { return this.qpsModel; } public static final class Builder { private java.util.List<QpsModel> qpsModel; private Builder() { } private Builder(Data model) { this.qpsModel = model.qpsModel; } /** * QpsModel. */ public Builder qpsModel(java.util.List<QpsModel> qpsModel) { this.qpsModel = qpsModel; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainRealTimeReqHitRateDataRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainRealTimeReqHitRateDataRequest} extends {@link RequestModel} * * <p>DescribeVodDomainRealTimeReqHitRateDataRequest</p> */ public class DescribeVodDomainRealTimeReqHitRateDataRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DomainName") @com.aliyun.core.annotation.Validation(required = true) private String domainName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; private DescribeVodDomainRealTimeReqHitRateDataRequest(Builder builder) { super(builder); this.domainName = builder.domainName; this.endTime = builder.endTime; this.ownerId = builder.ownerId; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static DescribeVodDomainRealTimeReqHitRateDataRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return domainName */ public String getDomainName() { return this.domainName; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder extends Request.Builder<DescribeVodDomainRealTimeReqHitRateDataRequest, Builder> { private String domainName; private String endTime; private Long ownerId; private String startTime; private Builder() { super(); } private Builder(DescribeVodDomainRealTimeReqHitRateDataRequest request) { super(request); this.domainName = request.domainName; this.endTime = request.endTime; this.ownerId = request.ownerId; this.startTime = request.startTime; } /** * <p>You can specify multiple domain names and separate them with commas (,). You can specify a maximum of 100 domain names in each call. If you specify multiple domain names, merged data is returned.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>example.com</p> */ public Builder domainName(String domainName) { this.putQueryParameter("DomainName", domainName); this.domainName = domainName; return this; } /** * <p>The end of the time range to query.</p> * <p>Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.</p> * <blockquote> * <p> The end time must be later than the start time.</p> * </blockquote> * * <strong>example:</strong> * <p>2024-01-02T11:26:00Z</p> */ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * <p>The beginning of the time range to query.</p> * <p>Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.</p> * * <strong>example:</strong> * <p>2024-01-02T11:23:00Z</p> */ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } @Override public DescribeVodDomainRealTimeReqHitRateDataRequest build() { return new DescribeVodDomainRealTimeReqHitRateDataRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainRealTimeReqHitRateDataResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainRealTimeReqHitRateDataResponse} extends {@link TeaModel} * * <p>DescribeVodDomainRealTimeReqHitRateDataResponse</p> */ public class DescribeVodDomainRealTimeReqHitRateDataResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeVodDomainRealTimeReqHitRateDataResponseBody body; private DescribeVodDomainRealTimeReqHitRateDataResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVodDomainRealTimeReqHitRateDataResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeVodDomainRealTimeReqHitRateDataResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVodDomainRealTimeReqHitRateDataResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVodDomainRealTimeReqHitRateDataResponseBody body); @Override DescribeVodDomainRealTimeReqHitRateDataResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVodDomainRealTimeReqHitRateDataResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVodDomainRealTimeReqHitRateDataResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVodDomainRealTimeReqHitRateDataResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeVodDomainRealTimeReqHitRateDataResponseBody body) { this.body = body; return this; } @Override public DescribeVodDomainRealTimeReqHitRateDataResponse build() { return new DescribeVodDomainRealTimeReqHitRateDataResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainRealTimeReqHitRateDataResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainRealTimeReqHitRateDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainRealTimeReqHitRateDataResponseBody</p> */ public class DescribeVodDomainRealTimeReqHitRateDataResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeVodDomainRealTimeReqHitRateDataResponseBody(Builder builder) { this.data = builder.data; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeVodDomainRealTimeReqHitRateDataResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return data */ public Data getData() { return this.data; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Data data; private String requestId; private Builder() { } private Builder(DescribeVodDomainRealTimeReqHitRateDataResponseBody model) { this.data = model.data; this.requestId = model.requestId; } /** * <p>The returned results.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>70A26B11-3673-479C-AEA8-E03FC5D3496D</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeVodDomainRealTimeReqHitRateDataResponseBody build() { return new DescribeVodDomainRealTimeReqHitRateDataResponseBody(this); } } /** * * {@link DescribeVodDomainRealTimeReqHitRateDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainRealTimeReqHitRateDataResponseBody</p> */ public static class ReqHitRateDataModel extends TeaModel { @com.aliyun.core.annotation.NameInMap("ReqHitRate") private Float reqHitRate; @com.aliyun.core.annotation.NameInMap("TimeStamp") private String timeStamp; private ReqHitRateDataModel(Builder builder) { this.reqHitRate = builder.reqHitRate; this.timeStamp = builder.timeStamp; } public static Builder builder() { return new Builder(); } public static ReqHitRateDataModel create() { return builder().build(); } /** * @return reqHitRate */ public Float getReqHitRate() { return this.reqHitRate; } /** * @return timeStamp */ public String getTimeStamp() { return this.timeStamp; } public static final class Builder { private Float reqHitRate; private String timeStamp; private Builder() { } private Builder(ReqHitRateDataModel model) { this.reqHitRate = model.reqHitRate; this.timeStamp = model.timeStamp; } /** * <p>The cache hit ratio that is calculated based on requests. The cache hit ratio is measured in percentage.</p> * * <strong>example:</strong> * <p>0.8956940476262277</p> */ public Builder reqHitRate(Float reqHitRate) { this.reqHitRate = reqHitRate; return this; } /** * <p>The timestamp of the data returned. The time follows the ISO 8601 standard. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2024-01-02T11:26:00Z</p> */ public Builder timeStamp(String timeStamp) { this.timeStamp = timeStamp; return this; } public ReqHitRateDataModel build() { return new ReqHitRateDataModel(this); } } } /** * * {@link DescribeVodDomainRealTimeReqHitRateDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainRealTimeReqHitRateDataResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("ReqHitRateDataModel") private java.util.List<ReqHitRateDataModel> reqHitRateDataModel; private Data(Builder builder) { this.reqHitRateDataModel = builder.reqHitRateDataModel; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return reqHitRateDataModel */ public java.util.List<ReqHitRateDataModel> getReqHitRateDataModel() { return this.reqHitRateDataModel; } public static final class Builder { private java.util.List<ReqHitRateDataModel> reqHitRateDataModel; private Builder() { } private Builder(Data model) { this.reqHitRateDataModel = model.reqHitRateDataModel; } /** * ReqHitRateDataModel. */ public Builder reqHitRateDataModel(java.util.List<ReqHitRateDataModel> reqHitRateDataModel) { this.reqHitRateDataModel = reqHitRateDataModel; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainRealTimeTrafficDataRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainRealTimeTrafficDataRequest} extends {@link RequestModel} * * <p>DescribeVodDomainRealTimeTrafficDataRequest</p> */ public class DescribeVodDomainRealTimeTrafficDataRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DomainName") @com.aliyun.core.annotation.Validation(required = true) private String domainName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("IspNameEn") private String ispNameEn; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("LocationNameEn") private String locationNameEn; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; private DescribeVodDomainRealTimeTrafficDataRequest(Builder builder) { super(builder); this.domainName = builder.domainName; this.endTime = builder.endTime; this.ispNameEn = builder.ispNameEn; this.locationNameEn = builder.locationNameEn; this.ownerId = builder.ownerId; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static DescribeVodDomainRealTimeTrafficDataRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return domainName */ public String getDomainName() { return this.domainName; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return ispNameEn */ public String getIspNameEn() { return this.ispNameEn; } /** * @return locationNameEn */ public String getLocationNameEn() { return this.locationNameEn; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder extends Request.Builder<DescribeVodDomainRealTimeTrafficDataRequest, Builder> { private String domainName; private String endTime; private String ispNameEn; private String locationNameEn; private Long ownerId; private String startTime; private Builder() { super(); } private Builder(DescribeVodDomainRealTimeTrafficDataRequest request) { super(request); this.domainName = request.domainName; this.endTime = request.endTime; this.ispNameEn = request.ispNameEn; this.locationNameEn = request.locationNameEn; this.ownerId = request.ownerId; this.startTime = request.startTime; } /** * <p>You can specify multiple domain names and separate them with commas (,). You can specify a maximum of 500 domain names in each call.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>example.com</p> */ public Builder domainName(String domainName) { this.putQueryParameter("DomainName", domainName); this.domainName = domainName; return this; } /** * <p>The end of the time range to query.</p> * <p>Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.</p> * <blockquote> * <p> The end time must be later than the start time.</p> * </blockquote> * * <strong>example:</strong> * <p>2019-12-10T20:01:00Z</p> */ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * <p>The name of the ISP. If you do not set this parameter, all ISPs are queried.</p> * * <strong>example:</strong> * <p>telecom</p> */ public Builder ispNameEn(String ispNameEn) { this.putQueryParameter("IspNameEn", ispNameEn); this.ispNameEn = ispNameEn; return this; } /** * <p>The name of the region. If you do not set this parameter, data in all regions is queried.</p> * * <strong>example:</strong> * <p>shanghai</p> */ public Builder locationNameEn(String locationNameEn) { this.putQueryParameter("LocationNameEn", locationNameEn); this.locationNameEn = locationNameEn; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * <p>The beginning of the time range to query.</p> * <p>Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.</p> * * <strong>example:</strong> * <p>2019-12-10T20:00:00Z</p> */ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } @Override public DescribeVodDomainRealTimeTrafficDataRequest build() { return new DescribeVodDomainRealTimeTrafficDataRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainRealTimeTrafficDataResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainRealTimeTrafficDataResponse} extends {@link TeaModel} * * <p>DescribeVodDomainRealTimeTrafficDataResponse</p> */ public class DescribeVodDomainRealTimeTrafficDataResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeVodDomainRealTimeTrafficDataResponseBody body; private DescribeVodDomainRealTimeTrafficDataResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVodDomainRealTimeTrafficDataResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeVodDomainRealTimeTrafficDataResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVodDomainRealTimeTrafficDataResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVodDomainRealTimeTrafficDataResponseBody body); @Override DescribeVodDomainRealTimeTrafficDataResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVodDomainRealTimeTrafficDataResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVodDomainRealTimeTrafficDataResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVodDomainRealTimeTrafficDataResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeVodDomainRealTimeTrafficDataResponseBody body) { this.body = body; return this; } @Override public DescribeVodDomainRealTimeTrafficDataResponse build() { return new DescribeVodDomainRealTimeTrafficDataResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainRealTimeTrafficDataResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainRealTimeTrafficDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainRealTimeTrafficDataResponseBody</p> */ public class DescribeVodDomainRealTimeTrafficDataResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DataInterval") private String dataInterval; @com.aliyun.core.annotation.NameInMap("DomainName") private String domainName; @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.NameInMap("RealTimeTrafficDataPerInterval") private RealTimeTrafficDataPerInterval realTimeTrafficDataPerInterval; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; private DescribeVodDomainRealTimeTrafficDataResponseBody(Builder builder) { this.dataInterval = builder.dataInterval; this.domainName = builder.domainName; this.endTime = builder.endTime; this.realTimeTrafficDataPerInterval = builder.realTimeTrafficDataPerInterval; this.requestId = builder.requestId; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static DescribeVodDomainRealTimeTrafficDataResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return dataInterval */ public String getDataInterval() { return this.dataInterval; } /** * @return domainName */ public String getDomainName() { return this.domainName; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return realTimeTrafficDataPerInterval */ public RealTimeTrafficDataPerInterval getRealTimeTrafficDataPerInterval() { return this.realTimeTrafficDataPerInterval; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder { private String dataInterval; private String domainName; private String endTime; private RealTimeTrafficDataPerInterval realTimeTrafficDataPerInterval; private String requestId; private String startTime; private Builder() { } private Builder(DescribeVodDomainRealTimeTrafficDataResponseBody model) { this.dataInterval = model.dataInterval; this.domainName = model.domainName; this.endTime = model.endTime; this.realTimeTrafficDataPerInterval = model.realTimeTrafficDataPerInterval; this.requestId = model.requestId; this.startTime = model.startTime; } /** * <p>The time interval at which data is returned. Unit: seconds.</p> * <p>The returned value varies based on the time range per query. Valid values: 60 (1 minute), 300 (5 minutes), and 3600 (1 hour). For more information, see the <strong>Time granularity</strong> section in the <strong>API documentation</strong>.</p> * * <strong>example:</strong> * <p>60</p> */ public Builder dataInterval(String dataInterval) { this.dataInterval = dataInterval; return this; } /** * <p>The accelerated domain name.</p> * * <strong>example:</strong> * <p>example.com</p> */ public Builder domainName(String domainName) { this.domainName = domainName; return this; } /** * <p>The end of the time range.</p> * * <strong>example:</strong> * <p>2019-12-10T20:01:00Z</p> */ public Builder endTime(String endTime) { this.endTime = endTime; return this; } /** * <p>The details of traffic data in each time interval.</p> */ public Builder realTimeTrafficDataPerInterval(RealTimeTrafficDataPerInterval realTimeTrafficDataPerInterval) { this.realTimeTrafficDataPerInterval = realTimeTrafficDataPerInterval; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>A666D44F-19D6-490E-97CF-1A64AB962C57</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The beginning of the time range.</p> * * <strong>example:</strong> * <p>2019-12-10T20:00:00Z</p> */ public Builder startTime(String startTime) { this.startTime = startTime; return this; } public DescribeVodDomainRealTimeTrafficDataResponseBody build() { return new DescribeVodDomainRealTimeTrafficDataResponseBody(this); } } /** * * {@link DescribeVodDomainRealTimeTrafficDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainRealTimeTrafficDataResponseBody</p> */ public static class DataModule extends TeaModel { @com.aliyun.core.annotation.NameInMap("TimeStamp") private String timeStamp; @com.aliyun.core.annotation.NameInMap("Value") private String value; private DataModule(Builder builder) { this.timeStamp = builder.timeStamp; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static DataModule create() { return builder().build(); } /** * @return timeStamp */ public String getTimeStamp() { return this.timeStamp; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String timeStamp; private String value; private Builder() { } private Builder(DataModule model) { this.timeStamp = model.timeStamp; this.value = model.value; } /** * <p>The timestamp of the data returned. The time follows the ISO 8601 standard. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2019-12-10T20:01:00Z</p> */ public Builder timeStamp(String timeStamp) { this.timeStamp = timeStamp; return this; } /** * <p>The traffic data. Unit: bytes.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder value(String value) { this.value = value; return this; } public DataModule build() { return new DataModule(this); } } } /** * * {@link DescribeVodDomainRealTimeTrafficDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainRealTimeTrafficDataResponseBody</p> */ public static class RealTimeTrafficDataPerInterval extends TeaModel { @com.aliyun.core.annotation.NameInMap("DataModule") private java.util.List<DataModule> dataModule; private RealTimeTrafficDataPerInterval(Builder builder) { this.dataModule = builder.dataModule; } public static Builder builder() { return new Builder(); } public static RealTimeTrafficDataPerInterval create() { return builder().build(); } /** * @return dataModule */ public java.util.List<DataModule> getDataModule() { return this.dataModule; } public static final class Builder { private java.util.List<DataModule> dataModule; private Builder() { } private Builder(RealTimeTrafficDataPerInterval model) { this.dataModule = model.dataModule; } /** * DataModule. */ public Builder dataModule(java.util.List<DataModule> dataModule) { this.dataModule = dataModule; return this; } public RealTimeTrafficDataPerInterval build() { return new RealTimeTrafficDataPerInterval(this); } } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainReqHitRateDataRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainReqHitRateDataRequest} extends {@link RequestModel} * * <p>DescribeVodDomainReqHitRateDataRequest</p> */ public class DescribeVodDomainReqHitRateDataRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DomainName") private String domainName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Interval") private String interval; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; private DescribeVodDomainReqHitRateDataRequest(Builder builder) { super(builder); this.domainName = builder.domainName; this.endTime = builder.endTime; this.interval = builder.interval; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static DescribeVodDomainReqHitRateDataRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return domainName */ public String getDomainName() { return this.domainName; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return interval */ public String getInterval() { return this.interval; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder extends Request.Builder<DescribeVodDomainReqHitRateDataRequest, Builder> { private String domainName; private String endTime; private String interval; private String startTime; private Builder() { super(); } private Builder(DescribeVodDomainReqHitRateDataRequest request) { super(request); this.domainName = request.domainName; this.endTime = request.endTime; this.interval = request.interval; this.startTime = request.startTime; } /** * <p>The accelerated domain name.</p> * <ul> * <li>If you leave this parameter empty, the merged data of all your accelerated domain names is returned.</li> * <li>You can specify a maximum of 500 accelerated domain names. Separate multiple domain names with commas (,).</li> * </ul> * * <strong>example:</strong> * <p>example.com</p> */ public Builder domainName(String domainName) { this.putQueryParameter("DomainName", domainName); this.domainName = domainName; return this; } /** * <p>The end of the time range to query.</p> * <p>Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.</p> * <blockquote> * <p> The end time must be later than the start time.</p> * </blockquote> * * <strong>example:</strong> * <p>2023-12-22T08:00:00Z</p> */ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * <p>The time granularity. Unit: seconds. Valid values: <strong>300</strong>, <strong>3600</strong>, and <strong>86400</strong>. If you leave this parameter empty or specify an invalid value, the default value is used. The supported time granularity varies based on the time range specified by <code>EndTime</code> and <code>StartTime</code>. The following content describes the supported time granularity.</p> * <ul> * <li>Time range per query &lt; 3 days: <strong>300</strong> (default), <strong>3600</strong>, and <strong>86400</strong></li> * <li>3 days ≤ Time range per query &lt; 31 days: <strong>3600</strong> (default) and <strong>86400</strong></li> * <li>31 days ≤ Time range per query ≤ 90 days: <strong>86400</strong> (default)</li> * </ul> * * <strong>example:</strong> * <p>300</p> */ public Builder interval(String interval) { this.putQueryParameter("Interval", interval); this.interval = interval; return this; } /** * <p>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.</p> * * <strong>example:</strong> * <p>2023-12-21T08:00:00Z</p> */ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } @Override public DescribeVodDomainReqHitRateDataRequest build() { return new DescribeVodDomainReqHitRateDataRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainReqHitRateDataResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainReqHitRateDataResponse} extends {@link TeaModel} * * <p>DescribeVodDomainReqHitRateDataResponse</p> */ public class DescribeVodDomainReqHitRateDataResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeVodDomainReqHitRateDataResponseBody body; private DescribeVodDomainReqHitRateDataResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVodDomainReqHitRateDataResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeVodDomainReqHitRateDataResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVodDomainReqHitRateDataResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVodDomainReqHitRateDataResponseBody body); @Override DescribeVodDomainReqHitRateDataResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVodDomainReqHitRateDataResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVodDomainReqHitRateDataResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVodDomainReqHitRateDataResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeVodDomainReqHitRateDataResponseBody body) { this.body = body; return this; } @Override public DescribeVodDomainReqHitRateDataResponse build() { return new DescribeVodDomainReqHitRateDataResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainReqHitRateDataResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainReqHitRateDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainReqHitRateDataResponseBody</p> */ public class DescribeVodDomainReqHitRateDataResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("DataInterval") private String dataInterval; @com.aliyun.core.annotation.NameInMap("DomainName") private String domainName; @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; private DescribeVodDomainReqHitRateDataResponseBody(Builder builder) { this.data = builder.data; this.dataInterval = builder.dataInterval; this.domainName = builder.domainName; this.endTime = builder.endTime; this.requestId = builder.requestId; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static DescribeVodDomainReqHitRateDataResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return data */ public Data getData() { return this.data; } /** * @return dataInterval */ public String getDataInterval() { return this.dataInterval; } /** * @return domainName */ public String getDomainName() { return this.domainName; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder { private Data data; private String dataInterval; private String domainName; private String endTime; private String requestId; private String startTime; private Builder() { } private Builder(DescribeVodDomainReqHitRateDataResponseBody model) { this.data = model.data; this.dataInterval = model.dataInterval; this.domainName = model.domainName; this.endTime = model.endTime; this.requestId = model.requestId; this.startTime = model.startTime; } /** * <p>The request hit rate data at each time interval.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The time interval at which data is returned, which is the time granularity. Unit: seconds.</p> * * <strong>example:</strong> * <p>300</p> */ public Builder dataInterval(String dataInterval) { this.dataInterval = dataInterval; return this; } /** * <p>The accelerated domain name.</p> * * <strong>example:</strong> * <p>example.com</p> */ public Builder domainName(String domainName) { this.domainName = domainName; return this; } /** * <p>The end of the time range.</p> * * <strong>example:</strong> * <p>2023-12-22T08:00:00Z</p> */ public Builder endTime(String endTime) { this.endTime = endTime; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>D94E471F-1A27-442E-552D-D4D2000C****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The beginning of the time range.</p> * * <strong>example:</strong> * <p>2023-12-21T08:00:00Z</p> */ public Builder startTime(String startTime) { this.startTime = startTime; return this; } public DescribeVodDomainReqHitRateDataResponseBody build() { return new DescribeVodDomainReqHitRateDataResponseBody(this); } } /** * * {@link DescribeVodDomainReqHitRateDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainReqHitRateDataResponseBody</p> */ public static class DataModule extends TeaModel { @com.aliyun.core.annotation.NameInMap("HttpsValue") private String httpsValue; @com.aliyun.core.annotation.NameInMap("TimeStamp") private String timeStamp; @com.aliyun.core.annotation.NameInMap("Value") private String value; private DataModule(Builder builder) { this.httpsValue = builder.httpsValue; this.timeStamp = builder.timeStamp; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static DataModule create() { return builder().build(); } /** * @return httpsValue */ public String getHttpsValue() { return this.httpsValue; } /** * @return timeStamp */ public String getTimeStamp() { return this.timeStamp; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String httpsValue; private String timeStamp; private String value; private Builder() { } private Builder(DataModule model) { this.httpsValue = model.httpsValue; this.timeStamp = model.timeStamp; this.value = model.value; } /** * <p>The HTTPS request hit rate.</p> * * <strong>example:</strong> * <p>50</p> */ public Builder httpsValue(String httpsValue) { this.httpsValue = httpsValue; return this; } /** * <p>The timestamp of the data returned. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2023-12-21T08:00:00Z</p> */ public Builder timeStamp(String timeStamp) { this.timeStamp = timeStamp; return this; } /** * <p>The total request hit rate.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder value(String value) { this.value = value; return this; } public DataModule build() { return new DataModule(this); } } } /** * * {@link DescribeVodDomainReqHitRateDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainReqHitRateDataResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("DataModule") private java.util.List<DataModule> dataModule; private Data(Builder builder) { this.dataModule = builder.dataModule; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return dataModule */ public java.util.List<DataModule> getDataModule() { return this.dataModule; } public static final class Builder { private java.util.List<DataModule> dataModule; private Builder() { } private Builder(Data model) { this.dataModule = model.dataModule; } /** * DataModule. */ public Builder dataModule(java.util.List<DataModule> dataModule) { this.dataModule = dataModule; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainSrcBpsDataRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainSrcBpsDataRequest} extends {@link RequestModel} * * <p>DescribeVodDomainSrcBpsDataRequest</p> */ public class DescribeVodDomainSrcBpsDataRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DomainName") private String domainName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Interval") private String interval; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; private DescribeVodDomainSrcBpsDataRequest(Builder builder) { super(builder); this.domainName = builder.domainName; this.endTime = builder.endTime; this.interval = builder.interval; this.ownerId = builder.ownerId; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static DescribeVodDomainSrcBpsDataRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return domainName */ public String getDomainName() { return this.domainName; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return interval */ public String getInterval() { return this.interval; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder extends Request.Builder<DescribeVodDomainSrcBpsDataRequest, Builder> { private String domainName; private String endTime; private String interval; private Long ownerId; private String startTime; private Builder() { super(); } private Builder(DescribeVodDomainSrcBpsDataRequest request) { super(request); this.domainName = request.domainName; this.endTime = request.endTime; this.interval = request.interval; this.ownerId = request.ownerId; this.startTime = request.startTime; } /** * <p>The accelerated domain name.</p> * <ul> * <li>If you leave this parameter empty, the merged data of all your accelerated domain names is returned.</li> * <li>You can specify a maximum of 500 accelerated domain names. Separate multiple domain names with commas (,).</li> * </ul> * * <strong>example:</strong> * <p>example.com</p> */ public Builder domainName(String domainName) { this.putQueryParameter("DomainName", domainName); this.domainName = domainName; return this; } /** * <p>The end of the time range to query.</p> * <p>Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.</p> * <blockquote> * <p> The end time must be later than the start time.</p> * </blockquote> * * <strong>example:</strong> * <p>2022-04-26T15:59:59Z</p> */ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * <p>The time granularity. Unit: seconds. Valid values: <strong>300</strong>, <strong>3600</strong>, and <strong>86400</strong>. If you leave this parameter empty or specify an invalid value, the default value is used. The supported time granularity varies based on the time range specified by <code>EndTime</code> and <code>StartTime</code>. The following content describes the supported time granularity.</p> * <ul> * <li>Time range per query &lt; 3 days: <strong>300</strong> (default), <strong>3600</strong>, and <strong>86400</strong></li> * <li>3 days ≤ Time range per query &lt; 31 days: <strong>3600</strong> (default) and <strong>86400</strong></li> * <li>31 days ≤ Time range per query ≤ 366 days: <strong>86400</strong> (default)</li> * </ul> * * <strong>example:</strong> * <p>300</p> */ public Builder interval(String interval) { this.putQueryParameter("Interval", interval); this.interval = interval; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * <p>The start 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.</p> * * <strong>example:</strong> * <p>2022-04-25T16:00:00Z</p> */ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } @Override public DescribeVodDomainSrcBpsDataRequest build() { return new DescribeVodDomainSrcBpsDataRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainSrcBpsDataResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainSrcBpsDataResponse} extends {@link TeaModel} * * <p>DescribeVodDomainSrcBpsDataResponse</p> */ public class DescribeVodDomainSrcBpsDataResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeVodDomainSrcBpsDataResponseBody body; private DescribeVodDomainSrcBpsDataResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVodDomainSrcBpsDataResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeVodDomainSrcBpsDataResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVodDomainSrcBpsDataResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVodDomainSrcBpsDataResponseBody body); @Override DescribeVodDomainSrcBpsDataResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVodDomainSrcBpsDataResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVodDomainSrcBpsDataResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVodDomainSrcBpsDataResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeVodDomainSrcBpsDataResponseBody body) { this.body = body; return this; } @Override public DescribeVodDomainSrcBpsDataResponse build() { return new DescribeVodDomainSrcBpsDataResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainSrcBpsDataResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainSrcBpsDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainSrcBpsDataResponseBody</p> */ public class DescribeVodDomainSrcBpsDataResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DataInterval") private String dataInterval; @com.aliyun.core.annotation.NameInMap("DomainName") private String domainName; @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("SrcBpsDataPerInterval") private SrcBpsDataPerInterval srcBpsDataPerInterval; @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; private DescribeVodDomainSrcBpsDataResponseBody(Builder builder) { this.dataInterval = builder.dataInterval; this.domainName = builder.domainName; this.endTime = builder.endTime; this.requestId = builder.requestId; this.srcBpsDataPerInterval = builder.srcBpsDataPerInterval; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static DescribeVodDomainSrcBpsDataResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return dataInterval */ public String getDataInterval() { return this.dataInterval; } /** * @return domainName */ public String getDomainName() { return this.domainName; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return srcBpsDataPerInterval */ public SrcBpsDataPerInterval getSrcBpsDataPerInterval() { return this.srcBpsDataPerInterval; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder { private String dataInterval; private String domainName; private String endTime; private String requestId; private SrcBpsDataPerInterval srcBpsDataPerInterval; private String startTime; private Builder() { } private Builder(DescribeVodDomainSrcBpsDataResponseBody model) { this.dataInterval = model.dataInterval; this.domainName = model.domainName; this.endTime = model.endTime; this.requestId = model.requestId; this.srcBpsDataPerInterval = model.srcBpsDataPerInterval; this.startTime = model.startTime; } /** * <p>The time interval at which data is returned, which is the time granularity. Unit: seconds.</p> * * <strong>example:</strong> * <p>300</p> */ public Builder dataInterval(String dataInterval) { this.dataInterval = dataInterval; return this; } /** * <p>The accelerated domain name whose ICP filing status you want to update.</p> * * <strong>example:</strong> * <p>sample.com</p> */ public Builder domainName(String domainName) { this.domainName = domainName; return this; } /** * <p>The end of the time range.</p> * * <strong>example:</strong> * <p>2022-08-23T02:02:57Z</p> */ public Builder endTime(String endTime) { this.endTime = endTime; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>25818875-5F78-4A13-BEF6-****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The origin bandwidth data at each time interval.</p> */ public Builder srcBpsDataPerInterval(SrcBpsDataPerInterval srcBpsDataPerInterval) { this.srcBpsDataPerInterval = srcBpsDataPerInterval; return this; } /** * <p>The beginning of the time range.</p> * * <strong>example:</strong> * <p>2022-07-12T16:00:00Z</p> */ public Builder startTime(String startTime) { this.startTime = startTime; return this; } public DescribeVodDomainSrcBpsDataResponseBody build() { return new DescribeVodDomainSrcBpsDataResponseBody(this); } } /** * * {@link DescribeVodDomainSrcBpsDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainSrcBpsDataResponseBody</p> */ public static class DataModule extends TeaModel { @com.aliyun.core.annotation.NameInMap("HttpsValue") private String httpsValue; @com.aliyun.core.annotation.NameInMap("TimeStamp") private String timeStamp; @com.aliyun.core.annotation.NameInMap("Value") private String value; private DataModule(Builder builder) { this.httpsValue = builder.httpsValue; this.timeStamp = builder.timeStamp; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static DataModule create() { return builder().build(); } /** * @return httpsValue */ public String getHttpsValue() { return this.httpsValue; } /** * @return timeStamp */ public String getTimeStamp() { return this.timeStamp; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String httpsValue; private String timeStamp; private String value; private Builder() { } private Builder(DataModule model) { this.httpsValue = model.httpsValue; this.timeStamp = model.timeStamp; this.value = model.value; } /** * <p>The bandwidth consumed for fetching resources from the origin over HTTPS.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder httpsValue(String httpsValue) { this.httpsValue = httpsValue; return this; } /** * <p>The timestamp of the data returned. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2022-08-23T02:02:57Z</p> */ public Builder timeStamp(String timeStamp) { this.timeStamp = timeStamp; return this; } /** * <p>The total origin bandwidth data. Unit: bit/s.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder value(String value) { this.value = value; return this; } public DataModule build() { return new DataModule(this); } } } /** * * {@link DescribeVodDomainSrcBpsDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainSrcBpsDataResponseBody</p> */ public static class SrcBpsDataPerInterval extends TeaModel { @com.aliyun.core.annotation.NameInMap("DataModule") private java.util.List<DataModule> dataModule; private SrcBpsDataPerInterval(Builder builder) { this.dataModule = builder.dataModule; } public static Builder builder() { return new Builder(); } public static SrcBpsDataPerInterval create() { return builder().build(); } /** * @return dataModule */ public java.util.List<DataModule> getDataModule() { return this.dataModule; } public static final class Builder { private java.util.List<DataModule> dataModule; private Builder() { } private Builder(SrcBpsDataPerInterval model) { this.dataModule = model.dataModule; } /** * DataModule. */ public Builder dataModule(java.util.List<DataModule> dataModule) { this.dataModule = dataModule; return this; } public SrcBpsDataPerInterval build() { return new SrcBpsDataPerInterval(this); } } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainSrcTrafficDataRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainSrcTrafficDataRequest} extends {@link RequestModel} * * <p>DescribeVodDomainSrcTrafficDataRequest</p> */ public class DescribeVodDomainSrcTrafficDataRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DomainName") private String domainName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Interval") private String interval; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; private DescribeVodDomainSrcTrafficDataRequest(Builder builder) { super(builder); this.domainName = builder.domainName; this.endTime = builder.endTime; this.interval = builder.interval; this.ownerId = builder.ownerId; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static DescribeVodDomainSrcTrafficDataRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return domainName */ public String getDomainName() { return this.domainName; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return interval */ public String getInterval() { return this.interval; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder extends Request.Builder<DescribeVodDomainSrcTrafficDataRequest, Builder> { private String domainName; private String endTime; private String interval; private Long ownerId; private String startTime; private Builder() { super(); } private Builder(DescribeVodDomainSrcTrafficDataRequest request) { super(request); this.domainName = request.domainName; this.endTime = request.endTime; this.interval = request.interval; this.ownerId = request.ownerId; this.startTime = request.startTime; } /** * <p>The accelerated domain name. You can specify a maximum of 500 domain names in a request. Separate multiple domain names with commas (,). If you specify multiple domain names in a request, aggregation results are returned.</p> * <p>If you leave this parameter empty, the origin traffic data for all accelerated domain names is queried by default.</p> * * <strong>example:</strong> * <p>example.com</p> */ public Builder domainName(String domainName) { this.putQueryParameter("DomainName", domainName); this.domainName = domainName; return this; } /** * <p>The end of the time range to query. The end time must be later than the start time. Specify the time in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.</p> * * <strong>example:</strong> * <p>2022-09-24T15:59:59Z</p> */ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * <p>The time interval between the data entries to return. Unit: seconds. Valid values:</p> * <ul> * <li><strong>300</strong>: 5 minutes</li> * <li><strong>3600</strong>: 1 hour</li> * <li><strong>86400</strong>: 1 day</li> * </ul> * <blockquote> * <p>The time granularity supported by the Interval parameter varies based on the time range per query specified by using <code>StartTime</code> and <code>EndTime</code>. For more information, see the <strong>Time granularity</strong> section of this topic.</p> * </blockquote> * * <strong>example:</strong> * <p>300</p> */ public Builder interval(String interval) { this.putQueryParameter("Interval", interval); this.interval = interval; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * <p>The beginning of the time range to query. Specify the time in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.</p> * <p>If you leave this parameter empty, the origin traffic data that is generated in the last 24 hours is queried by default.</p> * * <strong>example:</strong> * <p>2022-03-22T16:00:00Z</p> */ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } @Override public DescribeVodDomainSrcTrafficDataRequest build() { return new DescribeVodDomainSrcTrafficDataRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainSrcTrafficDataResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainSrcTrafficDataResponse} extends {@link TeaModel} * * <p>DescribeVodDomainSrcTrafficDataResponse</p> */ public class DescribeVodDomainSrcTrafficDataResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeVodDomainSrcTrafficDataResponseBody body; private DescribeVodDomainSrcTrafficDataResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVodDomainSrcTrafficDataResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeVodDomainSrcTrafficDataResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVodDomainSrcTrafficDataResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVodDomainSrcTrafficDataResponseBody body); @Override DescribeVodDomainSrcTrafficDataResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVodDomainSrcTrafficDataResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVodDomainSrcTrafficDataResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVodDomainSrcTrafficDataResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeVodDomainSrcTrafficDataResponseBody body) { this.body = body; return this; } @Override public DescribeVodDomainSrcTrafficDataResponse build() { return new DescribeVodDomainSrcTrafficDataResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainSrcTrafficDataResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainSrcTrafficDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainSrcTrafficDataResponseBody</p> */ public class DescribeVodDomainSrcTrafficDataResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DataInterval") private String dataInterval; @com.aliyun.core.annotation.NameInMap("DomainName") private String domainName; @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("SrcTrafficDataPerInterval") private SrcTrafficDataPerInterval srcTrafficDataPerInterval; @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; @com.aliyun.core.annotation.NameInMap("TotalTraffic") private String totalTraffic; private DescribeVodDomainSrcTrafficDataResponseBody(Builder builder) { this.dataInterval = builder.dataInterval; this.domainName = builder.domainName; this.endTime = builder.endTime; this.requestId = builder.requestId; this.srcTrafficDataPerInterval = builder.srcTrafficDataPerInterval; this.startTime = builder.startTime; this.totalTraffic = builder.totalTraffic; } public static Builder builder() { return new Builder(); } public static DescribeVodDomainSrcTrafficDataResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return dataInterval */ public String getDataInterval() { return this.dataInterval; } /** * @return domainName */ public String getDomainName() { return this.domainName; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return srcTrafficDataPerInterval */ public SrcTrafficDataPerInterval getSrcTrafficDataPerInterval() { return this.srcTrafficDataPerInterval; } /** * @return startTime */ public String getStartTime() { return this.startTime; } /** * @return totalTraffic */ public String getTotalTraffic() { return this.totalTraffic; } public static final class Builder { private String dataInterval; private String domainName; private String endTime; private String requestId; private SrcTrafficDataPerInterval srcTrafficDataPerInterval; private String startTime; private String totalTraffic; private Builder() { } private Builder(DescribeVodDomainSrcTrafficDataResponseBody model) { this.dataInterval = model.dataInterval; this.domainName = model.domainName; this.endTime = model.endTime; this.requestId = model.requestId; this.srcTrafficDataPerInterval = model.srcTrafficDataPerInterval; this.startTime = model.startTime; this.totalTraffic = model.totalTraffic; } /** * <p>The time interval between the entries returned. Unit: seconds.</p> * * <strong>example:</strong> * <p>300</p> */ public Builder dataInterval(String dataInterval) { this.dataInterval = dataInterval; return this; } /** * <p>The accelerated domain name.</p> * * <strong>example:</strong> * <p>example.com</p> */ public Builder domainName(String domainName) { this.domainName = domainName; return this; } /** * <p>The end of the time range during which data was queried. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2022-09-23T15:59:59Z</p> */ public Builder endTime(String endTime) { this.endTime = endTime; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>25818875-5F78-4AF6-D7393642CA58****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Details about the origin traffic returned at each time interval. Unit: bytes.</p> */ public Builder srcTrafficDataPerInterval(SrcTrafficDataPerInterval srcTrafficDataPerInterval) { this.srcTrafficDataPerInterval = srcTrafficDataPerInterval; return this; } /** * <p>The start of the time range during which data was queried. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2022-08-29T16:00:00Z</p> */ public Builder startTime(String startTime) { this.startTime = startTime; return this; } /** * <p>The total traffic. Unit: bytes.</p> * * <strong>example:</strong> * <p>5906662826</p> */ public Builder totalTraffic(String totalTraffic) { this.totalTraffic = totalTraffic; return this; } public DescribeVodDomainSrcTrafficDataResponseBody build() { return new DescribeVodDomainSrcTrafficDataResponseBody(this); } } /** * * {@link DescribeVodDomainSrcTrafficDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainSrcTrafficDataResponseBody</p> */ public static class DataModule extends TeaModel { @com.aliyun.core.annotation.NameInMap("HttpsValue") private String httpsValue; @com.aliyun.core.annotation.NameInMap("TimeStamp") private String timeStamp; @com.aliyun.core.annotation.NameInMap("Value") private String value; private DataModule(Builder builder) { this.httpsValue = builder.httpsValue; this.timeStamp = builder.timeStamp; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static DataModule create() { return builder().build(); } /** * @return httpsValue */ public String getHttpsValue() { return this.httpsValue; } /** * @return timeStamp */ public String getTimeStamp() { return this.timeStamp; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String httpsValue; private String timeStamp; private String value; private Builder() { } private Builder(DataModule model) { this.httpsValue = model.httpsValue; this.timeStamp = model.timeStamp; this.value = model.value; } /** * <p>The amount of traffic generated by origin HTTPS requests.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder httpsValue(String httpsValue) { this.httpsValue = httpsValue; return this; } /** * <p>The timestamp of the returned data. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2022-09-23T15:59:59Z</p> */ public Builder timeStamp(String timeStamp) { this.timeStamp = timeStamp; return this; } /** * <p>The traffic value at each time interval.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder value(String value) { this.value = value; return this; } public DataModule build() { return new DataModule(this); } } } /** * * {@link DescribeVodDomainSrcTrafficDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainSrcTrafficDataResponseBody</p> */ public static class SrcTrafficDataPerInterval extends TeaModel { @com.aliyun.core.annotation.NameInMap("DataModule") private java.util.List<DataModule> dataModule; private SrcTrafficDataPerInterval(Builder builder) { this.dataModule = builder.dataModule; } public static Builder builder() { return new Builder(); } public static SrcTrafficDataPerInterval create() { return builder().build(); } /** * @return dataModule */ public java.util.List<DataModule> getDataModule() { return this.dataModule; } public static final class Builder { private java.util.List<DataModule> dataModule; private Builder() { } private Builder(SrcTrafficDataPerInterval model) { this.dataModule = model.dataModule; } /** * DataModule. */ public Builder dataModule(java.util.List<DataModule> dataModule) { this.dataModule = dataModule; return this; } public SrcTrafficDataPerInterval build() { return new SrcTrafficDataPerInterval(this); } } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainTrafficDataRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainTrafficDataRequest} extends {@link RequestModel} * * <p>DescribeVodDomainTrafficDataRequest</p> */ public class DescribeVodDomainTrafficDataRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DomainName") private String domainName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Interval") private String interval; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("IspNameEn") private String ispNameEn; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("LocationNameEn") private String locationNameEn; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; private DescribeVodDomainTrafficDataRequest(Builder builder) { super(builder); this.domainName = builder.domainName; this.endTime = builder.endTime; this.interval = builder.interval; this.ispNameEn = builder.ispNameEn; this.locationNameEn = builder.locationNameEn; this.ownerId = builder.ownerId; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static DescribeVodDomainTrafficDataRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return domainName */ public String getDomainName() { return this.domainName; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return interval */ public String getInterval() { return this.interval; } /** * @return ispNameEn */ public String getIspNameEn() { return this.ispNameEn; } /** * @return locationNameEn */ public String getLocationNameEn() { return this.locationNameEn; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder extends Request.Builder<DescribeVodDomainTrafficDataRequest, Builder> { private String domainName; private String endTime; private String interval; private String ispNameEn; private String locationNameEn; private Long ownerId; private String startTime; private Builder() { super(); } private Builder(DescribeVodDomainTrafficDataRequest request) { super(request); this.domainName = request.domainName; this.endTime = request.endTime; this.interval = request.interval; this.ispNameEn = request.ispNameEn; this.locationNameEn = request.locationNameEn; this.ownerId = request.ownerId; this.startTime = request.startTime; } /** * <p>The accelerated domain name.</p> * <ul> * <li>If you leave this parameter empty, the merged data of all your accelerated domain names is returned.</li> * <li>You can specify multiple domain names and separate them with commas (,). You can specify a maximum of 500 domain names in each call.</li> * <li>To obtain the accelerated domain name, perform the following steps: Log on to the <a href="https://vod.console.aliyun.com">ApsaraVideo VOD console</a>. In the left-side navigation pane, choose <strong>Configuration Management &gt; CDN Configuration &gt; Domain Names</strong>. On the Domain Names page, view the accelerated domain names. Alternatively, you can call the <a href="~~DescribeVodUserDomains~~">DescribeVodUserDomains</a> operation to query the accelerated domain names.</li> * </ul> * * <strong>example:</strong> * <p>example.com</p> */ public Builder domainName(String domainName) { this.putQueryParameter("DomainName", domainName); this.domainName = domainName; return this; } /** * <p>The end of the time range to query.</p> * <p>Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.</p> * <blockquote> * <p> The end time must be later than the start time.</p> * </blockquote> * * <strong>example:</strong> * <p>2019-01-20T14:59:58Z</p> */ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * <p>The time granularity of the query. Unit: seconds. Valid values: <strong>300</strong>, <strong>3600</strong>, and <strong>86400</strong>. If you leave this parameter empty or specify an invalid value, the default value is used. The supported time granularity varies based on the time range specified by <code>EndTime</code> and <code>StartTime</code>. The following content describes the supported time granularity.</p> * <ul> * <li>Time range per query &lt; 3 days: <strong>300</strong> (default), <strong>3600</strong>, and <strong>86400</strong></li> * <li>3 days ≤ Time range per query &lt; 31 days: <strong>3600</strong> (default) and <strong>86400</strong></li> * <li>31 days ≤ Time range per query ≤ 366 days: <strong>86400</strong> (default)</li> * </ul> * * <strong>example:</strong> * <p>300</p> */ public Builder interval(String interval) { this.putQueryParameter("Interval", interval); this.interval = interval; return this; } /** * <p>The name of the Internet service provider (ISP). If you leave this parameter empty, all ISPs are queried.</p> * * <strong>example:</strong> * <p>Alibaba</p> */ public Builder ispNameEn(String ispNameEn) { this.putQueryParameter("IspNameEn", ispNameEn); this.ispNameEn = ispNameEn; return this; } /** * <p>The name of the region. If you leave this parameter empty, all regions are queried. You can specify only the China (Shanghai) region.</p> * * <strong>example:</strong> * <p>cn-shanghai</p> */ public Builder locationNameEn(String locationNameEn) { this.putQueryParameter("LocationNameEn", locationNameEn); this.locationNameEn = locationNameEn; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * <p>The start 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.</p> * * <strong>example:</strong> * <p>2019-01-20T13:59:58Z</p> */ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } @Override public DescribeVodDomainTrafficDataRequest build() { return new DescribeVodDomainTrafficDataRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainTrafficDataResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainTrafficDataResponse} extends {@link TeaModel} * * <p>DescribeVodDomainTrafficDataResponse</p> */ public class DescribeVodDomainTrafficDataResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeVodDomainTrafficDataResponseBody body; private DescribeVodDomainTrafficDataResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVodDomainTrafficDataResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeVodDomainTrafficDataResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVodDomainTrafficDataResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVodDomainTrafficDataResponseBody body); @Override DescribeVodDomainTrafficDataResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVodDomainTrafficDataResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVodDomainTrafficDataResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVodDomainTrafficDataResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeVodDomainTrafficDataResponseBody body) { this.body = body; return this; } @Override public DescribeVodDomainTrafficDataResponse build() { return new DescribeVodDomainTrafficDataResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainTrafficDataResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainTrafficDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainTrafficDataResponseBody</p> */ public class DescribeVodDomainTrafficDataResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DataInterval") private String dataInterval; @com.aliyun.core.annotation.NameInMap("DomainName") private String domainName; @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; @com.aliyun.core.annotation.NameInMap("TotalTraffic") private String totalTraffic; @com.aliyun.core.annotation.NameInMap("TrafficDataPerInterval") private TrafficDataPerInterval trafficDataPerInterval; private DescribeVodDomainTrafficDataResponseBody(Builder builder) { this.dataInterval = builder.dataInterval; this.domainName = builder.domainName; this.endTime = builder.endTime; this.requestId = builder.requestId; this.startTime = builder.startTime; this.totalTraffic = builder.totalTraffic; this.trafficDataPerInterval = builder.trafficDataPerInterval; } public static Builder builder() { return new Builder(); } public static DescribeVodDomainTrafficDataResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return dataInterval */ public String getDataInterval() { return this.dataInterval; } /** * @return domainName */ public String getDomainName() { return this.domainName; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return startTime */ public String getStartTime() { return this.startTime; } /** * @return totalTraffic */ public String getTotalTraffic() { return this.totalTraffic; } /** * @return trafficDataPerInterval */ public TrafficDataPerInterval getTrafficDataPerInterval() { return this.trafficDataPerInterval; } public static final class Builder { private String dataInterval; private String domainName; private String endTime; private String requestId; private String startTime; private String totalTraffic; private TrafficDataPerInterval trafficDataPerInterval; private Builder() { } private Builder(DescribeVodDomainTrafficDataResponseBody model) { this.dataInterval = model.dataInterval; this.domainName = model.domainName; this.endTime = model.endTime; this.requestId = model.requestId; this.startTime = model.startTime; this.totalTraffic = model.totalTraffic; this.trafficDataPerInterval = model.trafficDataPerInterval; } /** * <p>The time interval at which data is returned, which is the time granularity. Unit: seconds.</p> * * <strong>example:</strong> * <p>3600</p> */ public Builder dataInterval(String dataInterval) { this.dataInterval = dataInterval; return this; } /** * <p>The accelerated domain name.</p> * * <strong>example:</strong> * <p>example.com</p> */ public Builder domainName(String domainName) { this.domainName = domainName; return this; } /** * <p>The end of the time range.</p> * * <strong>example:</strong> * <p>2019-01-20T14:59:58Z</p> */ public Builder endTime(String endTime) { this.endTime = endTime; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>D94E471F-1A27-442E-552D-D4D2000C****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The beginning of the time range.</p> * * <strong>example:</strong> * <p>2019-01-20T13:59:58Z</p> */ public Builder startTime(String startTime) { this.startTime = startTime; return this; } /** * <p>The total amount of network traffic.</p> * * <strong>example:</strong> * <p>5906662826</p> */ public Builder totalTraffic(String totalTraffic) { this.totalTraffic = totalTraffic; return this; } /** * <p>The amount of network traffic at each time interval.</p> */ public Builder trafficDataPerInterval(TrafficDataPerInterval trafficDataPerInterval) { this.trafficDataPerInterval = trafficDataPerInterval; return this; } public DescribeVodDomainTrafficDataResponseBody build() { return new DescribeVodDomainTrafficDataResponseBody(this); } } /** * * {@link DescribeVodDomainTrafficDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainTrafficDataResponseBody</p> */ public static class DataModule extends TeaModel { @com.aliyun.core.annotation.NameInMap("DomesticValue") private String domesticValue; @com.aliyun.core.annotation.NameInMap("HttpsDomesticValue") private String httpsDomesticValue; @com.aliyun.core.annotation.NameInMap("HttpsOverseasValue") private String httpsOverseasValue; @com.aliyun.core.annotation.NameInMap("HttpsValue") private String httpsValue; @com.aliyun.core.annotation.NameInMap("OverseasValue") private String overseasValue; @com.aliyun.core.annotation.NameInMap("TimeStamp") private String timeStamp; @com.aliyun.core.annotation.NameInMap("Value") private String value; private DataModule(Builder builder) { this.domesticValue = builder.domesticValue; this.httpsDomesticValue = builder.httpsDomesticValue; this.httpsOverseasValue = builder.httpsOverseasValue; this.httpsValue = builder.httpsValue; this.overseasValue = builder.overseasValue; this.timeStamp = builder.timeStamp; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static DataModule create() { return builder().build(); } /** * @return domesticValue */ public String getDomesticValue() { return this.domesticValue; } /** * @return httpsDomesticValue */ public String getHttpsDomesticValue() { return this.httpsDomesticValue; } /** * @return httpsOverseasValue */ public String getHttpsOverseasValue() { return this.httpsOverseasValue; } /** * @return httpsValue */ public String getHttpsValue() { return this.httpsValue; } /** * @return overseasValue */ public String getOverseasValue() { return this.overseasValue; } /** * @return timeStamp */ public String getTimeStamp() { return this.timeStamp; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String domesticValue; private String httpsDomesticValue; private String httpsOverseasValue; private String httpsValue; private String overseasValue; private String timeStamp; private String value; private Builder() { } private Builder(DataModule model) { this.domesticValue = model.domesticValue; this.httpsDomesticValue = model.httpsDomesticValue; this.httpsOverseasValue = model.httpsOverseasValue; this.httpsValue = model.httpsValue; this.overseasValue = model.overseasValue; this.timeStamp = model.timeStamp; this.value = model.value; } /** * <p>The amount of network traffic in the Chinese mainland. Unit: bytes.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder domesticValue(String domesticValue) { this.domesticValue = domesticValue; return this; } /** * <p>The amount of HTTPS network traffic on points of presence (POPs) in the Chinese mainland. Unit: bytes.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder httpsDomesticValue(String httpsDomesticValue) { this.httpsDomesticValue = httpsDomesticValue; return this; } /** * <p>The amount of HTTPS network traffic on POPs outside the Chinese mainland. Unit: bytes.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder httpsOverseasValue(String httpsOverseasValue) { this.httpsOverseasValue = httpsOverseasValue; return this; } /** * <p>The total amount of HTTPS network traffic on POPs. Unit: bytes.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder httpsValue(String httpsValue) { this.httpsValue = httpsValue; return this; } /** * <p>The amount of network traffic outside the Chinese mainland. Unit: bytes.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder overseasValue(String overseasValue) { this.overseasValue = overseasValue; return this; } /** * <p>The timestamp of the data returned. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2019-01-15T19:00:00Z</p> */ public Builder timeStamp(String timeStamp) { this.timeStamp = timeStamp; return this; } /** * <p>The total traffic. Unit: bytes.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder value(String value) { this.value = value; return this; } public DataModule build() { return new DataModule(this); } } } /** * * {@link DescribeVodDomainTrafficDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainTrafficDataResponseBody</p> */ public static class TrafficDataPerInterval extends TeaModel { @com.aliyun.core.annotation.NameInMap("DataModule") private java.util.List<DataModule> dataModule; private TrafficDataPerInterval(Builder builder) { this.dataModule = builder.dataModule; } public static Builder builder() { return new Builder(); } public static TrafficDataPerInterval create() { return builder().build(); } /** * @return dataModule */ public java.util.List<DataModule> getDataModule() { return this.dataModule; } public static final class Builder { private java.util.List<DataModule> dataModule; private Builder() { } private Builder(TrafficDataPerInterval model) { this.dataModule = model.dataModule; } /** * DataModule. */ public Builder dataModule(java.util.List<DataModule> dataModule) { this.dataModule = dataModule; return this; } public TrafficDataPerInterval build() { return new TrafficDataPerInterval(this); } } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainUsageDataRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainUsageDataRequest} extends {@link RequestModel} * * <p>DescribeVodDomainUsageDataRequest</p> */ public class DescribeVodDomainUsageDataRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Area") private String area; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DomainName") private String domainName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EndTime") @com.aliyun.core.annotation.Validation(required = true) private String endTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Field") @com.aliyun.core.annotation.Validation(required = true) private String field; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Interval") private String interval; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") @com.aliyun.core.annotation.Validation(required = true) private String startTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Type") private String type; private DescribeVodDomainUsageDataRequest(Builder builder) { super(builder); this.area = builder.area; this.domainName = builder.domainName; this.endTime = builder.endTime; this.field = builder.field; this.interval = builder.interval; this.ownerId = builder.ownerId; this.startTime = builder.startTime; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static DescribeVodDomainUsageDataRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return area */ public String getArea() { return this.area; } /** * @return domainName */ public String getDomainName() { return this.domainName; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return field */ public String getField() { return this.field; } /** * @return interval */ public String getInterval() { return this.interval; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return startTime */ public String getStartTime() { return this.startTime; } /** * @return type */ public String getType() { return this.type; } public static final class Builder extends Request.Builder<DescribeVodDomainUsageDataRequest, Builder> { private String area; private String domainName; private String endTime; private String field; private String interval; private Long ownerId; private String startTime; private String type; private Builder() { super(); } private Builder(DescribeVodDomainUsageDataRequest request) { super(request); this.area = request.area; this.domainName = request.domainName; this.endTime = request.endTime; this.field = request.field; this.interval = request.interval; this.ownerId = request.ownerId; this.startTime = request.startTime; this.type = request.type; } /** * <p>The region in which you want to query data. Valid values:</p> * <ul> * <li><strong>CN</strong>: Chinese mainland</li> * <li><strong>OverSeas</strong>: outside the Chinese mainland</li> * </ul> * * <strong>example:</strong> * <p>CN</p> */ public Builder area(String area) { this.putQueryParameter("Area", area); this.area = area; return this; } /** * <p>The accelerated domain name. If you leave this parameter empty, the merged data of all your accelerated domain names is returned. Separate multiple accelerated domain names with commas (,).</p> * * <strong>example:</strong> * <p>example.com</p> */ public Builder domainName(String domainName) { this.putQueryParameter("DomainName", domainName); this.domainName = domainName; return this; } /** * <p>The end of the time range to query. The end time must be later than the start time. Specify the time in the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time must be in UTC.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2015-12-10T12:20:00Z</p> */ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * <p>The type of the data to return. Valid values:</p> * <ul> * <li><strong>bps</strong>: bandwidth</li> * <li><strong>traf</strong>: traffic</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>bps</p> */ public Builder field(String field) { this.putQueryParameter("Field", field); this.field = field; return this; } /** * <p>The time interval between the data entries to return. Unit: seconds. Valid values: <strong>300</strong> (5 minutes), <strong>3600</strong> (1 hour), and <strong>86400</strong> (1 day).</p> * <ul> * <li>If <strong>Interval</strong> is set to <strong>300</strong>, you can query usage data in the last six months. The maximum time range per query that can be specified is three days.</li> * <li>If <strong>Interval</strong> is set to <strong>3600</strong> or <strong>86400</strong>, you can query usage data of the previous year.</li> * <li>If you do not set the <strong>Interval</strong> parameter, the maximum time range that you can query is one 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.</li> * </ul> * * <strong>example:</strong> * <p>300</p> */ public Builder interval(String interval) { this.putQueryParameter("Interval", interval); this.interval = interval; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * <p>The beginning of the time range to query. Specify the time in the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time must be in UTC.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2015-12-10T10:20:00Z</p> */ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } /** * <p>The type of content that you want to query. Valid values:</p> * <ul> * <li><strong>static</strong>: static content</li> * <li><strong>dynamic</strong>: dynamic requests</li> * <li><strong>all</strong>: all content</li> * </ul> * * <strong>example:</strong> * <p>static</p> */ public Builder type(String type) { this.putQueryParameter("Type", type); this.type = type; return this; } @Override public DescribeVodDomainUsageDataRequest build() { return new DescribeVodDomainUsageDataRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainUsageDataResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainUsageDataResponse} extends {@link TeaModel} * * <p>DescribeVodDomainUsageDataResponse</p> */ public class DescribeVodDomainUsageDataResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeVodDomainUsageDataResponseBody body; private DescribeVodDomainUsageDataResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVodDomainUsageDataResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeVodDomainUsageDataResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVodDomainUsageDataResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVodDomainUsageDataResponseBody body); @Override DescribeVodDomainUsageDataResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVodDomainUsageDataResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVodDomainUsageDataResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVodDomainUsageDataResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeVodDomainUsageDataResponseBody body) { this.body = body; return this; } @Override public DescribeVodDomainUsageDataResponse build() { return new DescribeVodDomainUsageDataResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodDomainUsageDataResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodDomainUsageDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainUsageDataResponseBody</p> */ public class DescribeVodDomainUsageDataResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Area") private String area; @com.aliyun.core.annotation.NameInMap("DataInterval") private String dataInterval; @com.aliyun.core.annotation.NameInMap("DomainName") private String domainName; @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; @com.aliyun.core.annotation.NameInMap("Type") private String type; @com.aliyun.core.annotation.NameInMap("UsageDataPerInterval") private UsageDataPerInterval usageDataPerInterval; private DescribeVodDomainUsageDataResponseBody(Builder builder) { this.area = builder.area; this.dataInterval = builder.dataInterval; this.domainName = builder.domainName; this.endTime = builder.endTime; this.requestId = builder.requestId; this.startTime = builder.startTime; this.type = builder.type; this.usageDataPerInterval = builder.usageDataPerInterval; } public static Builder builder() { return new Builder(); } public static DescribeVodDomainUsageDataResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return area */ public String getArea() { return this.area; } /** * @return dataInterval */ public String getDataInterval() { return this.dataInterval; } /** * @return domainName */ public String getDomainName() { return this.domainName; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return startTime */ public String getStartTime() { return this.startTime; } /** * @return type */ public String getType() { return this.type; } /** * @return usageDataPerInterval */ public UsageDataPerInterval getUsageDataPerInterval() { return this.usageDataPerInterval; } public static final class Builder { private String area; private String dataInterval; private String domainName; private String endTime; private String requestId; private String startTime; private String type; private UsageDataPerInterval usageDataPerInterval; private Builder() { } private Builder(DescribeVodDomainUsageDataResponseBody model) { this.area = model.area; this.dataInterval = model.dataInterval; this.domainName = model.domainName; this.endTime = model.endTime; this.requestId = model.requestId; this.startTime = model.startTime; this.type = model.type; this.usageDataPerInterval = model.usageDataPerInterval; } /** * <p>The billable region where the data was collected.</p> * * <strong>example:</strong> * <p>CN</p> */ public Builder area(String area) { this.area = area; return this; } /** * <p>The time interval between the entries returned. Unit: seconds.</p> * * <strong>example:</strong> * <p>300</p> */ public Builder dataInterval(String dataInterval) { this.dataInterval = dataInterval; return this; } /** * <p>The accelerated domain name.</p> * * <strong>example:</strong> * <p>example.com</p> */ public Builder domainName(String domainName) { this.domainName = domainName; return this; } /** * <p>The end of the time range during which data was queried. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2015-12-10T12:20:00Z</p> */ public Builder endTime(String endTime) { this.endTime = endTime; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>B955107D-E658-4E77-****-E0AC3D31693E</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The start of the time range during which data was queried. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2015-12-10T10:20:00Z</p> */ public Builder startTime(String startTime) { this.startTime = startTime; return this; } /** * <p>The type of the data. Valid values:</p> * <ul> * <li><strong>bps</strong>: bandwidth</li> * <li><strong>traf</strong>: traffic</li> * </ul> * * <strong>example:</strong> * <p>static</p> */ public Builder type(String type) { this.type = type; return this; } /** * <p>The traffic or bandwidth data returned at each interval.</p> */ public Builder usageDataPerInterval(UsageDataPerInterval usageDataPerInterval) { this.usageDataPerInterval = usageDataPerInterval; return this; } public DescribeVodDomainUsageDataResponseBody build() { return new DescribeVodDomainUsageDataResponseBody(this); } } /** * * {@link DescribeVodDomainUsageDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainUsageDataResponseBody</p> */ public static class DataModule extends TeaModel { @com.aliyun.core.annotation.NameInMap("TimeStamp") private String timeStamp; @com.aliyun.core.annotation.NameInMap("Value") private String value; private DataModule(Builder builder) { this.timeStamp = builder.timeStamp; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static DataModule create() { return builder().build(); } /** * @return timeStamp */ public String getTimeStamp() { return this.timeStamp; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String timeStamp; private String value; private Builder() { } private Builder(DataModule model) { this.timeStamp = model.timeStamp; this.value = model.value; } /** * <p>The timestamp of the returned data. The time is in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2015-12-10T10:00:00Z</p> */ public Builder timeStamp(String timeStamp) { this.timeStamp = timeStamp; return this; } /** * <p>The traffic or bandwidth data. Unit: bit/s.</p> * * <strong>example:</strong> * <p>2592.3920000000003</p> */ public Builder value(String value) { this.value = value; return this; } public DataModule build() { return new DataModule(this); } } } /** * * {@link DescribeVodDomainUsageDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodDomainUsageDataResponseBody</p> */ public static class UsageDataPerInterval extends TeaModel { @com.aliyun.core.annotation.NameInMap("DataModule") private java.util.List<DataModule> dataModule; private UsageDataPerInterval(Builder builder) { this.dataModule = builder.dataModule; } public static Builder builder() { return new Builder(); } public static UsageDataPerInterval create() { return builder().build(); } /** * @return dataModule */ public java.util.List<DataModule> getDataModule() { return this.dataModule; } public static final class Builder { private java.util.List<DataModule> dataModule; private Builder() { } private Builder(UsageDataPerInterval model) { this.dataModule = model.dataModule; } /** * DataModule. */ public Builder dataModule(java.util.List<DataModule> dataModule) { this.dataModule = dataModule; return this; } public UsageDataPerInterval build() { return new UsageDataPerInterval(this); } } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodEditingUsageDataRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodEditingUsageDataRequest} extends {@link RequestModel} * * <p>DescribeVodEditingUsageDataRequest</p> */ public class DescribeVodEditingUsageDataRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Region") private String region; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Specification") private String specification; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; private DescribeVodEditingUsageDataRequest(Builder builder) { super(builder); this.appId = builder.appId; this.endTime = builder.endTime; this.ownerId = builder.ownerId; this.region = builder.region; this.specification = builder.specification; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static DescribeVodEditingUsageDataRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return region */ public String getRegion() { return this.region; } /** * @return specification */ public String getSpecification() { return this.specification; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder extends Request.Builder<DescribeVodEditingUsageDataRequest, Builder> { private String appId; private String endTime; private Long ownerId; private String region; private String specification; private String startTime; private Builder() { super(); } private Builder(DescribeVodEditingUsageDataRequest request) { super(request); this.appId = request.appId; this.endTime = request.endTime; this.ownerId = request.ownerId; this.region = request.region; this.specification = request.specification; this.startTime = request.startTime; } /** * AppId. */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * EndTime. */ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * Region. */ public Builder region(String region) { this.putQueryParameter("Region", region); this.region = region; return this; } /** * Specification. */ public Builder specification(String specification) { this.putQueryParameter("Specification", specification); this.specification = specification; return this; } /** * StartTime. */ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } @Override public DescribeVodEditingUsageDataRequest build() { return new DescribeVodEditingUsageDataRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodEditingUsageDataResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodEditingUsageDataResponse} extends {@link TeaModel} * * <p>DescribeVodEditingUsageDataResponse</p> */ public class DescribeVodEditingUsageDataResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeVodEditingUsageDataResponseBody body; private DescribeVodEditingUsageDataResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVodEditingUsageDataResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeVodEditingUsageDataResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVodEditingUsageDataResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVodEditingUsageDataResponseBody body); @Override DescribeVodEditingUsageDataResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVodEditingUsageDataResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVodEditingUsageDataResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVodEditingUsageDataResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeVodEditingUsageDataResponseBody body) { this.body = body; return this; } @Override public DescribeVodEditingUsageDataResponse build() { return new DescribeVodEditingUsageDataResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodEditingUsageDataResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodEditingUsageDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodEditingUsageDataResponseBody</p> */ public class DescribeVodEditingUsageDataResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("EditingData") private java.util.List<EditingData> editingData; @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; private DescribeVodEditingUsageDataResponseBody(Builder builder) { this.editingData = builder.editingData; this.endTime = builder.endTime; this.requestId = builder.requestId; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static DescribeVodEditingUsageDataResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return editingData */ public java.util.List<EditingData> getEditingData() { return this.editingData; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder { private java.util.List<EditingData> editingData; private String endTime; private String requestId; private String startTime; private Builder() { } private Builder(DescribeVodEditingUsageDataResponseBody model) { this.editingData = model.editingData; this.endTime = model.endTime; this.requestId = model.requestId; this.startTime = model.startTime; } /** * EditingData. */ public Builder editingData(java.util.List<EditingData> editingData) { this.editingData = editingData; return this; } /** * EndTime. */ public Builder endTime(String endTime) { this.endTime = endTime; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * StartTime. */ public Builder startTime(String startTime) { this.startTime = startTime; return this; } public DescribeVodEditingUsageDataResponseBody build() { return new DescribeVodEditingUsageDataResponseBody(this); } } /** * * {@link DescribeVodEditingUsageDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodEditingUsageDataResponseBody</p> */ public static class EditingData extends TeaModel { @com.aliyun.core.annotation.NameInMap("Duration") private Long duration; @com.aliyun.core.annotation.NameInMap("Region") private String region; @com.aliyun.core.annotation.NameInMap("Specification") private String specification; @com.aliyun.core.annotation.NameInMap("TimeStamp") private String timeStamp; private EditingData(Builder builder) { this.duration = builder.duration; this.region = builder.region; this.specification = builder.specification; this.timeStamp = builder.timeStamp; } public static Builder builder() { return new Builder(); } public static EditingData create() { return builder().build(); } /** * @return duration */ public Long getDuration() { return this.duration; } /** * @return region */ public String getRegion() { return this.region; } /** * @return specification */ public String getSpecification() { return this.specification; } /** * @return timeStamp */ public String getTimeStamp() { return this.timeStamp; } public static final class Builder { private Long duration; private String region; private String specification; private String timeStamp; private Builder() { } private Builder(EditingData model) { this.duration = model.duration; this.region = model.region; this.specification = model.specification; this.timeStamp = model.timeStamp; } /** * Duration. */ public Builder duration(Long duration) { this.duration = duration; return this; } /** * Region. */ public Builder region(String region) { this.region = region; return this; } /** * Specification. */ public Builder specification(String specification) { this.specification = specification; return this; } /** * TimeStamp. */ public Builder timeStamp(String timeStamp) { this.timeStamp = timeStamp; return this; } public EditingData build() { return new EditingData(this); } } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodMediaPlayDataRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodMediaPlayDataRequest} extends {@link RequestModel} * * <p>DescribeVodMediaPlayDataRequest</p> */ public class DescribeVodMediaPlayDataRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MediaId") private String mediaId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OrderName") private String orderName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OrderType") private String orderType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Os") private String os; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageNo") @com.aliyun.core.annotation.Validation(required = true) private Long pageNo; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") @com.aliyun.core.annotation.Validation(required = true) private Long pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PlayDate") private String playDate; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Region") private String region; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TerminalType") private String terminalType; private DescribeVodMediaPlayDataRequest(Builder builder) { super(builder); this.mediaId = builder.mediaId; this.orderName = builder.orderName; this.orderType = builder.orderType; this.os = builder.os; this.pageNo = builder.pageNo; this.pageSize = builder.pageSize; this.playDate = builder.playDate; this.region = builder.region; this.terminalType = builder.terminalType; } public static Builder builder() { return new Builder(); } public static DescribeVodMediaPlayDataRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return mediaId */ public String getMediaId() { return this.mediaId; } /** * @return orderName */ public String getOrderName() { return this.orderName; } /** * @return orderType */ public String getOrderType() { return this.orderType; } /** * @return os */ public String getOs() { return this.os; } /** * @return pageNo */ public Long getPageNo() { return this.pageNo; } /** * @return pageSize */ public Long getPageSize() { return this.pageSize; } /** * @return playDate */ public String getPlayDate() { return this.playDate; } /** * @return region */ public String getRegion() { return this.region; } /** * @return terminalType */ public String getTerminalType() { return this.terminalType; } public static final class Builder extends Request.Builder<DescribeVodMediaPlayDataRequest, Builder> { private String mediaId; private String orderName; private String orderType; private String os; private Long pageNo; private Long pageSize; private String playDate; private String region; private String terminalType; private Builder() { super(); } private Builder(DescribeVodMediaPlayDataRequest request) { super(request); this.mediaId = request.mediaId; this.orderName = request.orderName; this.orderType = request.orderType; this.os = request.os; this.pageNo = request.pageNo; this.pageSize = request.pageSize; this.playDate = request.playDate; this.region = request.region; this.terminalType = request.terminalType; } /** * <p>The ID of the media file (VideoId). You can specify this parameter to query all playback data of a media file. You can specify only one media ID. You can use one of the following methods to obtain the ID:</p> * <ul> * <li>Log on to the <a href="https://vod.console.aliyun.com">ApsaraVideo VOD console</a>. In the left-side navigation pane, choose <strong>Media Files</strong> &gt; <strong>Audio/Video</strong>. On the page that appears, view the media ID.</li> * <li>Obtain the value of the VideoId parameter in the response to the <a href="~~CreateUploadVideo~~">CreateUploadVideo</a> operation that you called to upload the audio or video file.</li> * <li>Obtain the value of VideoId by calling the <a href="~~SearchMedia~~">SearchMedia</a> operation. This method is applicable to files that have been uploaded.</li> * </ul> * * <strong>example:</strong> * <p>9ae2af636ca6c10412f44891fc****</p> */ public Builder mediaId(String mediaId) { this.putQueryParameter("MediaId", mediaId); this.mediaId = mediaId; return this; } /** * <p>The name of the metric. This parameter must be specified together with the <code>OrderType</code> parameter. You can specify this parameter to sort the returned data in ascending or descending order based on specific metrics. Valid values:</p> * <ul> * <li><strong>PlaySuccessVv</strong>: the total number of views.</li> * <li><strong>PlayPerVv</strong>: the average views per viewer.</li> * <li><strong>PlayDuration</strong>: the total playback duration.</li> * <li><strong>PlayDurationPerUv</strong>: the average playback duration per viewer.</li> * </ul> * * <strong>example:</strong> * <p>PlaySuccessVv</p> */ public Builder orderName(String orderName) { this.putQueryParameter("OrderName", orderName); this.orderName = orderName; return this; } /** * <p>The sort type. This parameter must be specified together with the <code>OrderName</code> parameter. You can specify this parameter to sort the returned data in ascending or descending order based on specific metrics. Valid values:</p> * <ul> * <li><strong>ASC</strong>: The returned data is sorted in ascending order.</li> * <li><strong>DESC</strong>: The returned data is sorted in descending order.</li> * </ul> * * <strong>example:</strong> * <p>ASC</p> */ public Builder orderType(String orderType) { this.putQueryParameter("OrderType", orderType); this.orderType = orderType; return this; } /** * <p>The operating system of the player. You can specify this parameter to query all playback data generated on a specific operating system. Valid values:</p> * <ul> * <li><strong>Android</strong></li> * <li><strong>iOS</strong></li> * <li><strong>Windows</strong></li> * <li><strong>macOS</strong></li> * <li><strong>Linux</strong></li> * </ul> * * <strong>example:</strong> * <p>Android</p> */ public Builder os(String os) { this.putQueryParameter("Os", os); this.os = os; return this; } /** * <p>The number of the page. You can specify a page number to return data from the specified page.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNo(Long pageNo) { this.putQueryParameter("PageNo", pageNo); this.pageNo = pageNo; return this; } /** * <p>The number of entries per page. Maximum value: 100.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Long pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The playback time. Specify the value in the yyyyMMdd format.</p> * <blockquote> * <ul> * <li>You can query data only by day.</li> * <li>You can query only data within the last 30 days.</li> * </ul> * </blockquote> * * <strong>example:</strong> * <p>20240322</p> */ public Builder playDate(String playDate) { this.putQueryParameter("PlayDate", playDate); this.playDate = playDate; return this; } /** * <p>The region in which ApsaraVideo VOD is activated. You can specify this parameter to query all playback data generated only in a specific region. Valid values:</p> * <ul> * <li><strong>cn-beijing</strong>: China (Beijing)</li> * <li><strong>cn-shanghai</strong>: China (Shanghai)</li> * <li><strong>cn-shenzhen</strong>: China (Shenzhen)</li> * <li><strong>ap-northeast-1</strong>: Japan (Tokyo)</li> * <li><strong>ap-southeast-1</strong>: Singapore</li> * <li><strong>ap-southeast-5</strong>: Indonesia (Jakarta)</li> * <li><strong>eu-central-1</strong>: Germany (Frankfurt)</li> * </ul> * * <strong>example:</strong> * <p>cn-beijing</p> */ public Builder region(String region) { this.putQueryParameter("Region", region); this.region = region; return this; } /** * <p>The type of the player SDK. You can specify this parameter to query all playback data generated by using a specific type of player SDK. Valid values:</p> * <ul> * <li><strong>Native</strong>: ApsaraVideo Player SDK for Android or ApsaraVideo Player SDK for iOS</li> * <li><strong>Web</strong>: ApsaraVideo Player SDK for Web</li> * </ul> * * <strong>example:</strong> * <p>Native</p> */ public Builder terminalType(String terminalType) { this.putQueryParameter("TerminalType", terminalType); this.terminalType = terminalType; return this; } @Override public DescribeVodMediaPlayDataRequest build() { return new DescribeVodMediaPlayDataRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodMediaPlayDataResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodMediaPlayDataResponse} extends {@link TeaModel} * * <p>DescribeVodMediaPlayDataResponse</p> */ public class DescribeVodMediaPlayDataResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeVodMediaPlayDataResponseBody body; private DescribeVodMediaPlayDataResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVodMediaPlayDataResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeVodMediaPlayDataResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVodMediaPlayDataResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVodMediaPlayDataResponseBody body); @Override DescribeVodMediaPlayDataResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVodMediaPlayDataResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVodMediaPlayDataResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVodMediaPlayDataResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeVodMediaPlayDataResponseBody body) { this.body = body; return this; } @Override public DescribeVodMediaPlayDataResponse build() { return new DescribeVodMediaPlayDataResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodMediaPlayDataResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodMediaPlayDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodMediaPlayDataResponseBody</p> */ public class DescribeVodMediaPlayDataResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("PageNo") private Long pageNo; @com.aliyun.core.annotation.NameInMap("PageSize") private Long pageSize; @com.aliyun.core.annotation.NameInMap("QoeInfoList") private java.util.List<QoeInfoList> qoeInfoList; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Long totalCount; private DescribeVodMediaPlayDataResponseBody(Builder builder) { this.pageNo = builder.pageNo; this.pageSize = builder.pageSize; this.qoeInfoList = builder.qoeInfoList; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeVodMediaPlayDataResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return pageNo */ public Long getPageNo() { return this.pageNo; } /** * @return pageSize */ public Long getPageSize() { return this.pageSize; } /** * @return qoeInfoList */ public java.util.List<QoeInfoList> getQoeInfoList() { return this.qoeInfoList; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Long getTotalCount() { return this.totalCount; } public static final class Builder { private Long pageNo; private Long pageSize; private java.util.List<QoeInfoList> qoeInfoList; private String requestId; private Long totalCount; private Builder() { } private Builder(DescribeVodMediaPlayDataResponseBody model) { this.pageNo = model.pageNo; this.pageSize = model.pageSize; this.qoeInfoList = model.qoeInfoList; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>The page number.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNo(Long pageNo) { this.pageNo = pageNo; return this; } /** * <p>The number of entries per page.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Long pageSize) { this.pageSize = pageSize; return this; } /** * <p>The data returned.</p> */ public Builder qoeInfoList(java.util.List<QoeInfoList> qoeInfoList) { this.qoeInfoList = qoeInfoList; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>25818875-5F78-4AF6-D7393642CA58****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder totalCount(Long totalCount) { this.totalCount = totalCount; return this; } public DescribeVodMediaPlayDataResponseBody build() { return new DescribeVodMediaPlayDataResponseBody(this); } } /** * * {@link DescribeVodMediaPlayDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodMediaPlayDataResponseBody</p> */ public static class QoeInfoList extends TeaModel { @com.aliyun.core.annotation.NameInMap("DAU") private Float DAU; @com.aliyun.core.annotation.NameInMap("MediaId") private String mediaId; @com.aliyun.core.annotation.NameInMap("PlayDuration") private Float playDuration; @com.aliyun.core.annotation.NameInMap("PlayDurationPerUv") private Float playDurationPerUv; @com.aliyun.core.annotation.NameInMap("PlayPerVv") private Float playPerVv; @com.aliyun.core.annotation.NameInMap("PlaySuccessVv") private Float playSuccessVv; @com.aliyun.core.annotation.NameInMap("VideoDuration") private Float videoDuration; @com.aliyun.core.annotation.NameInMap("VideoTitle") private String videoTitle; private QoeInfoList(Builder builder) { this.DAU = builder.DAU; this.mediaId = builder.mediaId; this.playDuration = builder.playDuration; this.playDurationPerUv = builder.playDurationPerUv; this.playPerVv = builder.playPerVv; this.playSuccessVv = builder.playSuccessVv; this.videoDuration = builder.videoDuration; this.videoTitle = builder.videoTitle; } public static Builder builder() { return new Builder(); } public static QoeInfoList create() { return builder().build(); } /** * @return DAU */ public Float getDAU() { return this.DAU; } /** * @return mediaId */ public String getMediaId() { return this.mediaId; } /** * @return playDuration */ public Float getPlayDuration() { return this.playDuration; } /** * @return playDurationPerUv */ public Float getPlayDurationPerUv() { return this.playDurationPerUv; } /** * @return playPerVv */ public Float getPlayPerVv() { return this.playPerVv; } /** * @return playSuccessVv */ public Float getPlaySuccessVv() { return this.playSuccessVv; } /** * @return videoDuration */ public Float getVideoDuration() { return this.videoDuration; } /** * @return videoTitle */ public String getVideoTitle() { return this.videoTitle; } public static final class Builder { private Float DAU; private String mediaId; private Float playDuration; private Float playDurationPerUv; private Float playPerVv; private Float playSuccessVv; private Float videoDuration; private String videoTitle; private Builder() { } private Builder(QoeInfoList model) { this.DAU = model.DAU; this.mediaId = model.mediaId; this.playDuration = model.playDuration; this.playDurationPerUv = model.playDurationPerUv; this.playPerVv = model.playPerVv; this.playSuccessVv = model.playSuccessVv; this.videoDuration = model.videoDuration; this.videoTitle = model.videoTitle; } /** * <p>The number of visits to the audio or video per day.</p> * * <strong>example:</strong> * <p>5</p> */ public Builder DAU(Float DAU) { this.DAU = DAU; return this; } /** * <p>The ID of the media file (VideoId).</p> * * <strong>example:</strong> * <p>9ae2af636ca6c10412f44891fc****</p> */ public Builder mediaId(String mediaId) { this.mediaId = mediaId; return this; } /** * <p>The total playback duration of the audio or video. Unit: seconds.</p> * * <strong>example:</strong> * <p>2400</p> */ public Builder playDuration(Float playDuration) { this.playDuration = playDuration; return this; } /** * <p>The average playback duration of the audio or video per viewer. Unit: seconds.</p> * * <strong>example:</strong> * <p>120</p> */ public Builder playDurationPerUv(Float playDurationPerUv) { this.playDurationPerUv = playDurationPerUv; return this; } /** * <p>The average number of times that the audio or video was played per viewer.</p> * * <strong>example:</strong> * <p>4</p> */ public Builder playPerVv(Float playPerVv) { this.playPerVv = playPerVv; return this; } /** * <p>The total number of times the audio or video has been played.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder playSuccessVv(Float playSuccessVv) { this.playSuccessVv = playSuccessVv; return this; } /** * <p>The duration of the audio or video file. Unit: seconds.</p> * * <strong>example:</strong> * <p>246</p> */ public Builder videoDuration(Float videoDuration) { this.videoDuration = videoDuration; return this; } /** * <p>The name of the audio or video file.</p> * * <strong>example:</strong> * <p>title</p> */ public Builder videoTitle(String videoTitle) { this.videoTitle = videoTitle; return this; } public QoeInfoList build() { return new QoeInfoList(this); } } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodPlayerCollectDataRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodPlayerCollectDataRequest} extends {@link RequestModel} * * <p>DescribeVodPlayerCollectDataRequest</p> */ public class DescribeVodPlayerCollectDataRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") @com.aliyun.core.annotation.Validation(required = true) private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EndTime") @com.aliyun.core.annotation.Validation(required = true) private String endTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Interval") @com.aliyun.core.annotation.Validation(required = true) private String interval; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Metrics") @com.aliyun.core.annotation.Validation(required = true) private String metrics; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Os") private String os; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Period") private String period; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") @com.aliyun.core.annotation.Validation(required = true) private String startTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TerminalType") @com.aliyun.core.annotation.Validation(required = true) private String terminalType; private DescribeVodPlayerCollectDataRequest(Builder builder) { super(builder); this.appId = builder.appId; this.endTime = builder.endTime; this.interval = builder.interval; this.metrics = builder.metrics; this.os = builder.os; this.period = builder.period; this.startTime = builder.startTime; this.terminalType = builder.terminalType; } public static Builder builder() { return new Builder(); } public static DescribeVodPlayerCollectDataRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return interval */ public String getInterval() { return this.interval; } /** * @return metrics */ public String getMetrics() { return this.metrics; } /** * @return os */ public String getOs() { return this.os; } /** * @return period */ public String getPeriod() { return this.period; } /** * @return startTime */ public String getStartTime() { return this.startTime; } /** * @return terminalType */ public String getTerminalType() { return this.terminalType; } public static final class Builder extends Request.Builder<DescribeVodPlayerCollectDataRequest, Builder> { private String appId; private String endTime; private String interval; private String metrics; private String os; private String period; private String startTime; private String terminalType; private Builder() { super(); } private Builder(DescribeVodPlayerCollectDataRequest request) { super(request); this.appId = request.appId; this.endTime = request.endTime; this.interval = request.interval; this.metrics = request.metrics; this.os = request.os; this.period = request.period; this.startTime = request.startTime; this.terminalType = request.terminalType; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>app-1000000</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2025-06-05T15:59:59Z</p> */ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1d</p> */ public Builder interval(String interval) { this.putQueryParameter("Interval", interval); this.interval = interval; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>Vv,Uv,AvgPerVv</p> */ public Builder metrics(String metrics) { this.putQueryParameter("Metrics", metrics); this.metrics = metrics; return this; } /** * Os. */ public Builder os(String os) { this.putQueryParameter("Os", os); this.os = os; return this; } /** * Period. */ public Builder period(String period) { this.putQueryParameter("Period", period); this.period = period; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2025-06-24T00:55:06Z</p> */ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>web</p> */ public Builder terminalType(String terminalType) { this.putQueryParameter("TerminalType", terminalType); this.terminalType = terminalType; return this; } @Override public DescribeVodPlayerCollectDataRequest build() { return new DescribeVodPlayerCollectDataRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodPlayerCollectDataResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodPlayerCollectDataResponse} extends {@link TeaModel} * * <p>DescribeVodPlayerCollectDataResponse</p> */ public class DescribeVodPlayerCollectDataResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeVodPlayerCollectDataResponseBody body; private DescribeVodPlayerCollectDataResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVodPlayerCollectDataResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeVodPlayerCollectDataResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVodPlayerCollectDataResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVodPlayerCollectDataResponseBody body); @Override DescribeVodPlayerCollectDataResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVodPlayerCollectDataResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVodPlayerCollectDataResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVodPlayerCollectDataResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeVodPlayerCollectDataResponseBody body) { this.body = body; return this; } @Override public DescribeVodPlayerCollectDataResponse build() { return new DescribeVodPlayerCollectDataResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodPlayerCollectDataResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodPlayerCollectDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodPlayerCollectDataResponseBody</p> */ public class DescribeVodPlayerCollectDataResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DataList") private java.util.List<DataList> dataList; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeVodPlayerCollectDataResponseBody(Builder builder) { this.dataList = builder.dataList; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeVodPlayerCollectDataResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return dataList */ public java.util.List<DataList> getDataList() { return this.dataList; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<DataList> dataList; private String requestId; private Builder() { } private Builder(DescribeVodPlayerCollectDataResponseBody model) { this.dataList = model.dataList; this.requestId = model.requestId; } /** * DataList. */ public Builder dataList(java.util.List<DataList> dataList) { this.dataList = dataList; return this; } /** * <p>Id of the request</p> * * <strong>example:</strong> * <p>25818875-5F78-4AF6-D7393642CA58****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeVodPlayerCollectDataResponseBody build() { return new DescribeVodPlayerCollectDataResponseBody(this); } } /** * * {@link DescribeVodPlayerCollectDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodPlayerCollectDataResponseBody</p> */ public static class DataList extends TeaModel { @com.aliyun.core.annotation.NameInMap("Metric") private String metric; @com.aliyun.core.annotation.NameInMap("Value") private Double value; @com.aliyun.core.annotation.NameInMap("ValueRatio") private Double valueRatio; @com.aliyun.core.annotation.NameInMap("ValueRefer") private Double valueRefer; private DataList(Builder builder) { this.metric = builder.metric; this.value = builder.value; this.valueRatio = builder.valueRatio; this.valueRefer = builder.valueRefer; } public static Builder builder() { return new Builder(); } public static DataList create() { return builder().build(); } /** * @return metric */ public String getMetric() { return this.metric; } /** * @return value */ public Double getValue() { return this.value; } /** * @return valueRatio */ public Double getValueRatio() { return this.valueRatio; } /** * @return valueRefer */ public Double getValueRefer() { return this.valueRefer; } public static final class Builder { private String metric; private Double value; private Double valueRatio; private Double valueRefer; private Builder() { } private Builder(DataList model) { this.metric = model.metric; this.value = model.value; this.valueRatio = model.valueRatio; this.valueRefer = model.valueRefer; } /** * Metric. */ public Builder metric(String metric) { this.metric = metric; return this; } /** * Value. */ public Builder value(Double value) { this.value = value; return this; } /** * ValueRatio. */ public Builder valueRatio(Double valueRatio) { this.valueRatio = valueRatio; return this; } /** * ValueRefer. */ public Builder valueRefer(Double valueRefer) { this.valueRefer = valueRefer; return this; } public DataList build() { return new DataList(this); } } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodPlayerDimensionDataRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodPlayerDimensionDataRequest} extends {@link RequestModel} * * <p>DescribeVodPlayerDimensionDataRequest</p> */ public class DescribeVodPlayerDimensionDataRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") @com.aliyun.core.annotation.Validation(required = true) private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Dimension") @com.aliyun.core.annotation.Validation(required = true) private String dimension; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Region") private String region; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; private DescribeVodPlayerDimensionDataRequest(Builder builder) { super(builder); this.appId = builder.appId; this.dimension = builder.dimension; this.endTime = builder.endTime; this.region = builder.region; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static DescribeVodPlayerDimensionDataRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return dimension */ public String getDimension() { return this.dimension; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return region */ public String getRegion() { return this.region; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder extends Request.Builder<DescribeVodPlayerDimensionDataRequest, Builder> { private String appId; private String dimension; private String endTime; private String region; private String startTime; private Builder() { super(); } private Builder(DescribeVodPlayerDimensionDataRequest request) { super(request); this.appId = request.appId; this.dimension = request.dimension; this.endTime = request.endTime; this.region = request.region; this.startTime = request.startTime; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>app-1000000</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>Os</p> */ public Builder dimension(String dimension) { this.putQueryParameter("Dimension", dimension); this.dimension = dimension; return this; } /** * EndTime. */ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * Region. */ public Builder region(String region) { this.putQueryParameter("Region", region); this.region = region; return this; } /** * StartTime. */ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } @Override public DescribeVodPlayerDimensionDataRequest build() { return new DescribeVodPlayerDimensionDataRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodPlayerDimensionDataResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodPlayerDimensionDataResponse} extends {@link TeaModel} * * <p>DescribeVodPlayerDimensionDataResponse</p> */ public class DescribeVodPlayerDimensionDataResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeVodPlayerDimensionDataResponseBody body; private DescribeVodPlayerDimensionDataResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVodPlayerDimensionDataResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeVodPlayerDimensionDataResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVodPlayerDimensionDataResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVodPlayerDimensionDataResponseBody body); @Override DescribeVodPlayerDimensionDataResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVodPlayerDimensionDataResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVodPlayerDimensionDataResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVodPlayerDimensionDataResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeVodPlayerDimensionDataResponseBody body) { this.body = body; return this; } @Override public DescribeVodPlayerDimensionDataResponse build() { return new DescribeVodPlayerDimensionDataResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodPlayerDimensionDataResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodPlayerDimensionDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodPlayerDimensionDataResponseBody</p> */ public class DescribeVodPlayerDimensionDataResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DataList") private java.util.List<String> dataList; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeVodPlayerDimensionDataResponseBody(Builder builder) { this.dataList = builder.dataList; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeVodPlayerDimensionDataResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return dataList */ public java.util.List<String> getDataList() { return this.dataList; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<String> dataList; private String requestId; private Builder() { } private Builder(DescribeVodPlayerDimensionDataResponseBody model) { this.dataList = model.dataList; this.requestId = model.requestId; } /** * DataList. */ public Builder dataList(java.util.List<String> dataList) { this.dataList = dataList; return this; } /** * <p>Id of the request</p> * * <strong>example:</strong> * <p>25818875-5F78-4A*****F6-D7393642CA58</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeVodPlayerDimensionDataResponseBody build() { return new DescribeVodPlayerDimensionDataResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodPlayerMetricDataRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodPlayerMetricDataRequest} extends {@link RequestModel} * * <p>DescribeVodPlayerMetricDataRequest</p> */ public class DescribeVodPlayerMetricDataRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") @com.aliyun.core.annotation.Validation(required = true) private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EndTime") @com.aliyun.core.annotation.Validation(required = true) private String endTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Filters") private String filters; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Interval") @com.aliyun.core.annotation.Validation(required = true) private String interval; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Language") private String language; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Metrics") @com.aliyun.core.annotation.Validation(required = true) private String metrics; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Os") private String os; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageNumber") private Long pageNumber; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Long pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") @com.aliyun.core.annotation.Validation(required = true) private String startTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TerminalType") @com.aliyun.core.annotation.Validation(required = true) private String terminalType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Top") private Long top; private DescribeVodPlayerMetricDataRequest(Builder builder) { super(builder); this.appId = builder.appId; this.endTime = builder.endTime; this.filters = builder.filters; this.interval = builder.interval; this.language = builder.language; this.metrics = builder.metrics; this.os = builder.os; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.startTime = builder.startTime; this.terminalType = builder.terminalType; this.top = builder.top; } public static Builder builder() { return new Builder(); } public static DescribeVodPlayerMetricDataRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return filters */ public String getFilters() { return this.filters; } /** * @return interval */ public String getInterval() { return this.interval; } /** * @return language */ public String getLanguage() { return this.language; } /** * @return metrics */ public String getMetrics() { return this.metrics; } /** * @return os */ public String getOs() { return this.os; } /** * @return pageNumber */ public Long getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Long getPageSize() { return this.pageSize; } /** * @return startTime */ public String getStartTime() { return this.startTime; } /** * @return terminalType */ public String getTerminalType() { return this.terminalType; } /** * @return top */ public Long getTop() { return this.top; } public static final class Builder extends Request.Builder<DescribeVodPlayerMetricDataRequest, Builder> { private String appId; private String endTime; private String filters; private String interval; private String language; private String metrics; private String os; private Long pageNumber; private Long pageSize; private String startTime; private String terminalType; private Long top; private Builder() { super(); } private Builder(DescribeVodPlayerMetricDataRequest request) { super(request); this.appId = request.appId; this.endTime = request.endTime; this.filters = request.filters; this.interval = request.interval; this.language = request.language; this.metrics = request.metrics; this.os = request.os; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.startTime = request.startTime; this.terminalType = request.terminalType; this.top = request.top; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>app-1000000</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2025-06-05T15:59:59Z</p> */ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * Filters. */ public Builder filters(String filters) { this.putQueryParameter("Filters", filters); this.filters = filters; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>1d</p> */ public Builder interval(String interval) { this.putQueryParameter("Interval", interval); this.interval = interval; return this; } /** * Language. */ public Builder language(String language) { this.putQueryParameter("Language", language); this.language = language; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>Vv,Uv,AvgPerVv</p> */ public Builder metrics(String metrics) { this.putQueryParameter("Metrics", metrics); this.metrics = metrics; return this; } /** * Os. */ public Builder os(String os) { this.putQueryParameter("Os", os); this.os = os; return this; } /** * PageNumber. */ public Builder pageNumber(Long pageNumber) { this.putQueryParameter("PageNumber", pageNumber); this.pageNumber = pageNumber; return this; } /** * PageSize. */ public Builder pageSize(Long pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2025-06-24T00:55:06Z</p> */ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>web</p> */ public Builder terminalType(String terminalType) { this.putQueryParameter("TerminalType", terminalType); this.terminalType = terminalType; return this; } /** * Top. */ public Builder top(Long top) { this.putQueryParameter("Top", top); this.top = top; return this; } @Override public DescribeVodPlayerMetricDataRequest build() { return new DescribeVodPlayerMetricDataRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodPlayerMetricDataResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodPlayerMetricDataResponse} extends {@link TeaModel} * * <p>DescribeVodPlayerMetricDataResponse</p> */ public class DescribeVodPlayerMetricDataResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeVodPlayerMetricDataResponseBody body; private DescribeVodPlayerMetricDataResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVodPlayerMetricDataResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeVodPlayerMetricDataResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVodPlayerMetricDataResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVodPlayerMetricDataResponseBody body); @Override DescribeVodPlayerMetricDataResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVodPlayerMetricDataResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVodPlayerMetricDataResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVodPlayerMetricDataResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeVodPlayerMetricDataResponseBody body) { this.body = body; return this; } @Override public DescribeVodPlayerMetricDataResponse build() { return new DescribeVodPlayerMetricDataResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodPlayerMetricDataResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodPlayerMetricDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodPlayerMetricDataResponseBody</p> */ public class DescribeVodPlayerMetricDataResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DataList") private java.util.List<DataList> dataList; @com.aliyun.core.annotation.NameInMap("Extend") private Extend extend; @com.aliyun.core.annotation.NameInMap("PageNumber") private Long pageNumber; @com.aliyun.core.annotation.NameInMap("PageSize") private Long pageSize; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCnt") private Long totalCnt; private DescribeVodPlayerMetricDataResponseBody(Builder builder) { this.dataList = builder.dataList; this.extend = builder.extend; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.totalCnt = builder.totalCnt; } public static Builder builder() { return new Builder(); } public static DescribeVodPlayerMetricDataResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return dataList */ public java.util.List<DataList> getDataList() { return this.dataList; } /** * @return extend */ public Extend getExtend() { return this.extend; } /** * @return pageNumber */ public Long getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Long getPageSize() { return this.pageSize; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCnt */ public Long getTotalCnt() { return this.totalCnt; } public static final class Builder { private java.util.List<DataList> dataList; private Extend extend; private Long pageNumber; private Long pageSize; private String requestId; private Long totalCnt; private Builder() { } private Builder(DescribeVodPlayerMetricDataResponseBody model) { this.dataList = model.dataList; this.extend = model.extend; this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalCnt = model.totalCnt; } /** * DataList. */ public Builder dataList(java.util.List<DataList> dataList) { this.dataList = dataList; return this; } /** * Extend. */ public Builder extend(Extend extend) { this.extend = extend; return this; } /** * PageNumber. */ public Builder pageNumber(Long pageNumber) { this.pageNumber = pageNumber; return this; } /** * PageSize. */ public Builder pageSize(Long pageSize) { this.pageSize = pageSize; return this; } /** * <p>Id of the request</p> * * <strong>example:</strong> * <p>25818875-5F78-4A*****F6-D7393642CA58</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * TotalCnt. */ public Builder totalCnt(Long totalCnt) { this.totalCnt = totalCnt; return this; } public DescribeVodPlayerMetricDataResponseBody build() { return new DescribeVodPlayerMetricDataResponseBody(this); } } /** * * {@link DescribeVodPlayerMetricDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodPlayerMetricDataResponseBody</p> */ public static class DataList extends TeaModel { @com.aliyun.core.annotation.NameInMap("AvgPerCompletionVv") private Double avgPerCompletionVv; @com.aliyun.core.annotation.NameInMap("AvgPerPlayDuration") private Double avgPerPlayDuration; @com.aliyun.core.annotation.NameInMap("AvgPerVv") private Double avgPerVv; @com.aliyun.core.annotation.NameInMap("AvgPlayBitrate") private Double avgPlayBitrate; @com.aliyun.core.annotation.NameInMap("AvgPlayDuration") private Double avgPlayDuration; @com.aliyun.core.annotation.NameInMap("AvgStartBitrate") private Double avgStartBitrate; @com.aliyun.core.annotation.NameInMap("AvgVideoDuration") private Double avgVideoDuration; @com.aliyun.core.annotation.NameInMap("CompletionRate") private Double completionRate; @com.aliyun.core.annotation.NameInMap("CompletionVv") private Double completionVv; @com.aliyun.core.annotation.NameInMap("Dimension") private String dimension; @com.aliyun.core.annotation.NameInMap("ErrorCount100s") private Double errorCount100s; @com.aliyun.core.annotation.NameInMap("FirstFrame") private Double firstFrame; @com.aliyun.core.annotation.NameInMap("JumpRate5s") private Double jumpRate5s; @com.aliyun.core.annotation.NameInMap("PlayFailRate") private Double playFailRate; @com.aliyun.core.annotation.NameInMap("RealVv") private Double realVv; @com.aliyun.core.annotation.NameInMap("SecondPlayRate") private Double secondPlayRate; @com.aliyun.core.annotation.NameInMap("SeedFailRate") private Double seedFailRate; @com.aliyun.core.annotation.NameInMap("SeekDuration") private Double seekDuration; @com.aliyun.core.annotation.NameInMap("SlowPlayRate") private Double slowPlayRate; @com.aliyun.core.annotation.NameInMap("StuckCount100s") private String stuckCount100s; @com.aliyun.core.annotation.NameInMap("StuckCountRate") private Double stuckCountRate; @com.aliyun.core.annotation.NameInMap("StuckDuration100s") private Double stuckDuration100s; @com.aliyun.core.annotation.NameInMap("TimeStamp") private String timeStamp; @com.aliyun.core.annotation.NameInMap("TotalPlayDuration") private Double totalPlayDuration; @com.aliyun.core.annotation.NameInMap("Uv") private Double uv; @com.aliyun.core.annotation.NameInMap("Vv") private Double vv; private DataList(Builder builder) { this.avgPerCompletionVv = builder.avgPerCompletionVv; this.avgPerPlayDuration = builder.avgPerPlayDuration; this.avgPerVv = builder.avgPerVv; this.avgPlayBitrate = builder.avgPlayBitrate; this.avgPlayDuration = builder.avgPlayDuration; this.avgStartBitrate = builder.avgStartBitrate; this.avgVideoDuration = builder.avgVideoDuration; this.completionRate = builder.completionRate; this.completionVv = builder.completionVv; this.dimension = builder.dimension; this.errorCount100s = builder.errorCount100s; this.firstFrame = builder.firstFrame; this.jumpRate5s = builder.jumpRate5s; this.playFailRate = builder.playFailRate; this.realVv = builder.realVv; this.secondPlayRate = builder.secondPlayRate; this.seedFailRate = builder.seedFailRate; this.seekDuration = builder.seekDuration; this.slowPlayRate = builder.slowPlayRate; this.stuckCount100s = builder.stuckCount100s; this.stuckCountRate = builder.stuckCountRate; this.stuckDuration100s = builder.stuckDuration100s; this.timeStamp = builder.timeStamp; this.totalPlayDuration = builder.totalPlayDuration; this.uv = builder.uv; this.vv = builder.vv; } public static Builder builder() { return new Builder(); } public static DataList create() { return builder().build(); } /** * @return avgPerCompletionVv */ public Double getAvgPerCompletionVv() { return this.avgPerCompletionVv; } /** * @return avgPerPlayDuration */ public Double getAvgPerPlayDuration() { return this.avgPerPlayDuration; } /** * @return avgPerVv */ public Double getAvgPerVv() { return this.avgPerVv; } /** * @return avgPlayBitrate */ public Double getAvgPlayBitrate() { return this.avgPlayBitrate; } /** * @return avgPlayDuration */ public Double getAvgPlayDuration() { return this.avgPlayDuration; } /** * @return avgStartBitrate */ public Double getAvgStartBitrate() { return this.avgStartBitrate; } /** * @return avgVideoDuration */ public Double getAvgVideoDuration() { return this.avgVideoDuration; } /** * @return completionRate */ public Double getCompletionRate() { return this.completionRate; } /** * @return completionVv */ public Double getCompletionVv() { return this.completionVv; } /** * @return dimension */ public String getDimension() { return this.dimension; } /** * @return errorCount100s */ public Double getErrorCount100s() { return this.errorCount100s; } /** * @return firstFrame */ public Double getFirstFrame() { return this.firstFrame; } /** * @return jumpRate5s */ public Double getJumpRate5s() { return this.jumpRate5s; } /** * @return playFailRate */ public Double getPlayFailRate() { return this.playFailRate; } /** * @return realVv */ public Double getRealVv() { return this.realVv; } /** * @return secondPlayRate */ public Double getSecondPlayRate() { return this.secondPlayRate; } /** * @return seedFailRate */ public Double getSeedFailRate() { return this.seedFailRate; } /** * @return seekDuration */ public Double getSeekDuration() { return this.seekDuration; } /** * @return slowPlayRate */ public Double getSlowPlayRate() { return this.slowPlayRate; } /** * @return stuckCount100s */ public String getStuckCount100s() { return this.stuckCount100s; } /** * @return stuckCountRate */ public Double getStuckCountRate() { return this.stuckCountRate; } /** * @return stuckDuration100s */ public Double getStuckDuration100s() { return this.stuckDuration100s; } /** * @return timeStamp */ public String getTimeStamp() { return this.timeStamp; } /** * @return totalPlayDuration */ public Double getTotalPlayDuration() { return this.totalPlayDuration; } /** * @return uv */ public Double getUv() { return this.uv; } /** * @return vv */ public Double getVv() { return this.vv; } public static final class Builder { private Double avgPerCompletionVv; private Double avgPerPlayDuration; private Double avgPerVv; private Double avgPlayBitrate; private Double avgPlayDuration; private Double avgStartBitrate; private Double avgVideoDuration; private Double completionRate; private Double completionVv; private String dimension; private Double errorCount100s; private Double firstFrame; private Double jumpRate5s; private Double playFailRate; private Double realVv; private Double secondPlayRate; private Double seedFailRate; private Double seekDuration; private Double slowPlayRate; private String stuckCount100s; private Double stuckCountRate; private Double stuckDuration100s; private String timeStamp; private Double totalPlayDuration; private Double uv; private Double vv; private Builder() { } private Builder(DataList model) { this.avgPerCompletionVv = model.avgPerCompletionVv; this.avgPerPlayDuration = model.avgPerPlayDuration; this.avgPerVv = model.avgPerVv; this.avgPlayBitrate = model.avgPlayBitrate; this.avgPlayDuration = model.avgPlayDuration; this.avgStartBitrate = model.avgStartBitrate; this.avgVideoDuration = model.avgVideoDuration; this.completionRate = model.completionRate; this.completionVv = model.completionVv; this.dimension = model.dimension; this.errorCount100s = model.errorCount100s; this.firstFrame = model.firstFrame; this.jumpRate5s = model.jumpRate5s; this.playFailRate = model.playFailRate; this.realVv = model.realVv; this.secondPlayRate = model.secondPlayRate; this.seedFailRate = model.seedFailRate; this.seekDuration = model.seekDuration; this.slowPlayRate = model.slowPlayRate; this.stuckCount100s = model.stuckCount100s; this.stuckCountRate = model.stuckCountRate; this.stuckDuration100s = model.stuckDuration100s; this.timeStamp = model.timeStamp; this.totalPlayDuration = model.totalPlayDuration; this.uv = model.uv; this.vv = model.vv; } /** * AvgPerCompletionVv. */ public Builder avgPerCompletionVv(Double avgPerCompletionVv) { this.avgPerCompletionVv = avgPerCompletionVv; return this; } /** * AvgPerPlayDuration. */ public Builder avgPerPlayDuration(Double avgPerPlayDuration) { this.avgPerPlayDuration = avgPerPlayDuration; return this; } /** * AvgPerVv. */ public Builder avgPerVv(Double avgPerVv) { this.avgPerVv = avgPerVv; return this; } /** * AvgPlayBitrate. */ public Builder avgPlayBitrate(Double avgPlayBitrate) { this.avgPlayBitrate = avgPlayBitrate; return this; } /** * AvgPlayDuration. */ public Builder avgPlayDuration(Double avgPlayDuration) { this.avgPlayDuration = avgPlayDuration; return this; } /** * AvgStartBitrate. */ public Builder avgStartBitrate(Double avgStartBitrate) { this.avgStartBitrate = avgStartBitrate; return this; } /** * AvgVideoDuration. */ public Builder avgVideoDuration(Double avgVideoDuration) { this.avgVideoDuration = avgVideoDuration; return this; } /** * CompletionRate. */ public Builder completionRate(Double completionRate) { this.completionRate = completionRate; return this; } /** * CompletionVv. */ public Builder completionVv(Double completionVv) { this.completionVv = completionVv; return this; } /** * Dimension. */ public Builder dimension(String dimension) { this.dimension = dimension; return this; } /** * ErrorCount100s. */ public Builder errorCount100s(Double errorCount100s) { this.errorCount100s = errorCount100s; return this; } /** * FirstFrame. */ public Builder firstFrame(Double firstFrame) { this.firstFrame = firstFrame; return this; } /** * JumpRate5s. */ public Builder jumpRate5s(Double jumpRate5s) { this.jumpRate5s = jumpRate5s; return this; } /** * PlayFailRate. */ public Builder playFailRate(Double playFailRate) { this.playFailRate = playFailRate; return this; } /** * RealVv. */ public Builder realVv(Double realVv) { this.realVv = realVv; return this; } /** * SecondPlayRate. */ public Builder secondPlayRate(Double secondPlayRate) { this.secondPlayRate = secondPlayRate; return this; } /** * SeedFailRate. */ public Builder seedFailRate(Double seedFailRate) { this.seedFailRate = seedFailRate; return this; } /** * SeekDuration. */ public Builder seekDuration(Double seekDuration) { this.seekDuration = seekDuration; return this; } /** * SlowPlayRate. */ public Builder slowPlayRate(Double slowPlayRate) { this.slowPlayRate = slowPlayRate; return this; } /** * StuckCount100s. */ public Builder stuckCount100s(String stuckCount100s) { this.stuckCount100s = stuckCount100s; return this; } /** * StuckCountRate. */ public Builder stuckCountRate(Double stuckCountRate) { this.stuckCountRate = stuckCountRate; return this; } /** * StuckDuration100s. */ public Builder stuckDuration100s(Double stuckDuration100s) { this.stuckDuration100s = stuckDuration100s; return this; } /** * TimeStamp. */ public Builder timeStamp(String timeStamp) { this.timeStamp = timeStamp; return this; } /** * TotalPlayDuration. */ public Builder totalPlayDuration(Double totalPlayDuration) { this.totalPlayDuration = totalPlayDuration; return this; } /** * Uv. */ public Builder uv(Double uv) { this.uv = uv; return this; } /** * Vv. */ public Builder vv(Double vv) { this.vv = vv; return this; } public DataList build() { return new DataList(this); } } } /** * * {@link DescribeVodPlayerMetricDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodPlayerMetricDataResponseBody</p> */ public static class Extend extends TeaModel { @com.aliyun.core.annotation.NameInMap("ActualEndTime") private String actualEndTime; @com.aliyun.core.annotation.NameInMap("ActualStartTime") private String actualStartTime; @com.aliyun.core.annotation.NameInMap("IntervalSeconds") private Long intervalSeconds; private Extend(Builder builder) { this.actualEndTime = builder.actualEndTime; this.actualStartTime = builder.actualStartTime; this.intervalSeconds = builder.intervalSeconds; } public static Builder builder() { return new Builder(); } public static Extend create() { return builder().build(); } /** * @return actualEndTime */ public String getActualEndTime() { return this.actualEndTime; } /** * @return actualStartTime */ public String getActualStartTime() { return this.actualStartTime; } /** * @return intervalSeconds */ public Long getIntervalSeconds() { return this.intervalSeconds; } public static final class Builder { private String actualEndTime; private String actualStartTime; private Long intervalSeconds; private Builder() { } private Builder(Extend model) { this.actualEndTime = model.actualEndTime; this.actualStartTime = model.actualStartTime; this.intervalSeconds = model.intervalSeconds; } /** * ActualEndTime. */ public Builder actualEndTime(String actualEndTime) { this.actualEndTime = actualEndTime; return this; } /** * ActualStartTime. */ public Builder actualStartTime(String actualStartTime) { this.actualStartTime = actualStartTime; return this; } /** * IntervalSeconds. */ public Builder intervalSeconds(Long intervalSeconds) { this.intervalSeconds = intervalSeconds; return this; } public Extend build() { return new Extend(this); } } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodRangeDataByLocateAndIspServiceRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodRangeDataByLocateAndIspServiceRequest} extends {@link RequestModel} * * <p>DescribeVodRangeDataByLocateAndIspServiceRequest</p> */ public class DescribeVodRangeDataByLocateAndIspServiceRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DomainName") @com.aliyun.core.annotation.Validation(required = true) private String domainName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EndTime") @com.aliyun.core.annotation.Validation(required = true) private String endTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("IspNameEn") private String ispNameEn; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("LocationNameEn") private String locationNameEn; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") @com.aliyun.core.annotation.Validation(required = true) private String startTime; private DescribeVodRangeDataByLocateAndIspServiceRequest(Builder builder) { super(builder); this.domainName = builder.domainName; this.endTime = builder.endTime; this.ispNameEn = builder.ispNameEn; this.locationNameEn = builder.locationNameEn; this.ownerId = builder.ownerId; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static DescribeVodRangeDataByLocateAndIspServiceRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return domainName */ public String getDomainName() { return this.domainName; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return ispNameEn */ public String getIspNameEn() { return this.ispNameEn; } /** * @return locationNameEn */ public String getLocationNameEn() { return this.locationNameEn; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder extends Request.Builder<DescribeVodRangeDataByLocateAndIspServiceRequest, Builder> { private String domainName; private String endTime; private String ispNameEn; private String locationNameEn; private Long ownerId; private String startTime; private Builder() { super(); } private Builder(DescribeVodRangeDataByLocateAndIspServiceRequest request) { super(request); this.domainName = request.domainName; this.endTime = request.endTime; this.ispNameEn = request.ispNameEn; this.locationNameEn = request.locationNameEn; this.ownerId = request.ownerId; this.startTime = request.startTime; } /** * <p>The accelerated domain name.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>example.com</p> */ public Builder domainName(String domainName) { this.putQueryParameter("DomainName", domainName); this.domainName = domainName; return this; } /** * <p>The end of the time range to query. Specify the time in the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time must be in UTC.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2023-05-29T03:55:00Z</p> */ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * <p>The name of the ISP. If you leave this parameter empty, all ISPs are queried.</p> * * <strong>example:</strong> * <p>unicom</p> */ public Builder ispNameEn(String ispNameEn) { this.putQueryParameter("IspNameEn", ispNameEn); this.ispNameEn = ispNameEn; return this; } /** * <p>The name of the region. If you leave this parameter empty, data in all regions is queried.</p> * * <strong>example:</strong> * <p>beijing</p> */ public Builder locationNameEn(String locationNameEn) { this.putQueryParameter("LocationNameEn", locationNameEn); this.locationNameEn = locationNameEn; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * <p>The beginning of the time range to query. Specify the time in the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time must be in UTC.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2023-05-29T03:50:00Z</p> */ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } @Override public DescribeVodRangeDataByLocateAndIspServiceRequest build() { return new DescribeVodRangeDataByLocateAndIspServiceRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodRangeDataByLocateAndIspServiceResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodRangeDataByLocateAndIspServiceResponse} extends {@link TeaModel} * * <p>DescribeVodRangeDataByLocateAndIspServiceResponse</p> */ public class DescribeVodRangeDataByLocateAndIspServiceResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeVodRangeDataByLocateAndIspServiceResponseBody body; private DescribeVodRangeDataByLocateAndIspServiceResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVodRangeDataByLocateAndIspServiceResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeVodRangeDataByLocateAndIspServiceResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVodRangeDataByLocateAndIspServiceResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVodRangeDataByLocateAndIspServiceResponseBody body); @Override DescribeVodRangeDataByLocateAndIspServiceResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVodRangeDataByLocateAndIspServiceResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVodRangeDataByLocateAndIspServiceResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVodRangeDataByLocateAndIspServiceResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeVodRangeDataByLocateAndIspServiceResponseBody body) { this.body = body; return this; } @Override public DescribeVodRangeDataByLocateAndIspServiceResponse build() { return new DescribeVodRangeDataByLocateAndIspServiceResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodRangeDataByLocateAndIspServiceResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodRangeDataByLocateAndIspServiceResponseBody} extends {@link TeaModel} * * <p>DescribeVodRangeDataByLocateAndIspServiceResponseBody</p> */ public class DescribeVodRangeDataByLocateAndIspServiceResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("JsonResult") private String jsonResult; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeVodRangeDataByLocateAndIspServiceResponseBody(Builder builder) { this.jsonResult = builder.jsonResult; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeVodRangeDataByLocateAndIspServiceResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return jsonResult */ public String getJsonResult() { return this.jsonResult; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String jsonResult; private String requestId; private Builder() { } private Builder(DescribeVodRangeDataByLocateAndIspServiceResponseBody model) { this.jsonResult = model.jsonResult; this.requestId = model.requestId; } /** * <p>The returned result. The value is in the JSON format. These parameters indicate the following information in sequence: UNIX time, region, ISP, distribution of HTTP status codes, response time, bandwidth (bit/s), average response rate, page views, cache hit ratio, and request hit ratio.</p> * * <strong>example:</strong> * <p>{&quot;1472659200&quot;:{&quot;tianjin&quot;:{&quot;unicom&quot;:{&quot;http_codes&quot;:{&quot;000&quot;:0,&quot;200&quot;:6,&quot;400&quot;:0},&quot;rt&quot;:4183,&quot;bandwidth&quot;:46639,&quot;avg_speed&quot;:7773,&quot;pv&quot;:6,&quot;hit_rate&quot;:0.93,&quot;request_hit_rate&quot;:0.66}}}}</p> */ public Builder jsonResult(String jsonResult) { this.jsonResult = jsonResult; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>C74802AA-C277-5A80-BDF2-072B05F119C7</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeVodRangeDataByLocateAndIspServiceResponseBody build() { return new DescribeVodRangeDataByLocateAndIspServiceResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodRefreshQuotaRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodRefreshQuotaRequest} extends {@link RequestModel} * * <p>DescribeVodRefreshQuotaRequest</p> */ public class DescribeVodRefreshQuotaRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecurityToken") private String securityToken; private DescribeVodRefreshQuotaRequest(Builder builder) { super(builder); this.ownerId = builder.ownerId; this.securityToken = builder.securityToken; } public static Builder builder() { return new Builder(); } public static DescribeVodRefreshQuotaRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } public static final class Builder extends Request.Builder<DescribeVodRefreshQuotaRequest, Builder> { private Long ownerId; private String securityToken; private Builder() { super(); } private Builder(DescribeVodRefreshQuotaRequest request) { super(request); this.ownerId = request.ownerId; this.securityToken = request.securityToken; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } @Override public DescribeVodRefreshQuotaRequest build() { return new DescribeVodRefreshQuotaRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodRefreshQuotaResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodRefreshQuotaResponse} extends {@link TeaModel} * * <p>DescribeVodRefreshQuotaResponse</p> */ public class DescribeVodRefreshQuotaResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeVodRefreshQuotaResponseBody body; private DescribeVodRefreshQuotaResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVodRefreshQuotaResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeVodRefreshQuotaResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVodRefreshQuotaResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVodRefreshQuotaResponseBody body); @Override DescribeVodRefreshQuotaResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVodRefreshQuotaResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVodRefreshQuotaResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVodRefreshQuotaResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeVodRefreshQuotaResponseBody body) { this.body = body; return this; } @Override public DescribeVodRefreshQuotaResponse build() { return new DescribeVodRefreshQuotaResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodRefreshQuotaResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodRefreshQuotaResponseBody} extends {@link TeaModel} * * <p>DescribeVodRefreshQuotaResponseBody</p> */ public class DescribeVodRefreshQuotaResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("BlockQuota") private String blockQuota; @com.aliyun.core.annotation.NameInMap("DirQuota") private String dirQuota; @com.aliyun.core.annotation.NameInMap("DirRemain") private String dirRemain; @com.aliyun.core.annotation.NameInMap("PreloadQuota") private String preloadQuota; @com.aliyun.core.annotation.NameInMap("PreloadRemain") private String preloadRemain; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("UrlQuota") private String urlQuota; @com.aliyun.core.annotation.NameInMap("UrlRemain") private String urlRemain; @com.aliyun.core.annotation.NameInMap("blockRemain") private String blockRemain; private DescribeVodRefreshQuotaResponseBody(Builder builder) { this.blockQuota = builder.blockQuota; this.dirQuota = builder.dirQuota; this.dirRemain = builder.dirRemain; this.preloadQuota = builder.preloadQuota; this.preloadRemain = builder.preloadRemain; this.requestId = builder.requestId; this.urlQuota = builder.urlQuota; this.urlRemain = builder.urlRemain; this.blockRemain = builder.blockRemain; } public static Builder builder() { return new Builder(); } public static DescribeVodRefreshQuotaResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return blockQuota */ public String getBlockQuota() { return this.blockQuota; } /** * @return dirQuota */ public String getDirQuota() { return this.dirQuota; } /** * @return dirRemain */ public String getDirRemain() { return this.dirRemain; } /** * @return preloadQuota */ public String getPreloadQuota() { return this.preloadQuota; } /** * @return preloadRemain */ public String getPreloadRemain() { return this.preloadRemain; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return urlQuota */ public String getUrlQuota() { return this.urlQuota; } /** * @return urlRemain */ public String getUrlRemain() { return this.urlRemain; } /** * @return blockRemain */ public String getBlockRemain() { return this.blockRemain; } public static final class Builder { private String blockQuota; private String dirQuota; private String dirRemain; private String preloadQuota; private String preloadRemain; private String requestId; private String urlQuota; private String urlRemain; private String blockRemain; private Builder() { } private Builder(DescribeVodRefreshQuotaResponseBody model) { this.blockQuota = model.blockQuota; this.dirQuota = model.dirQuota; this.dirRemain = model.dirRemain; this.preloadQuota = model.preloadQuota; this.preloadRemain = model.preloadRemain; this.requestId = model.requestId; this.urlQuota = model.urlQuota; this.urlRemain = model.urlRemain; this.blockRemain = model.blockRemain; } /** * <p>The maximum number of Object Storage Service (OSS) buckets that can be refreshed each day.</p> * * <strong>example:</strong> * <p>500</p> */ public Builder blockQuota(String blockQuota) { this.blockQuota = blockQuota; return this; } /** * <p>The maximum number of directories of files that can be refreshed each day.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder dirQuota(String dirQuota) { this.dirQuota = dirQuota; return this; } /** * <p>The remaining number of directories of files that can be refreshed on the current day.</p> * * <strong>example:</strong> * <p>99</p> */ public Builder dirRemain(String dirRemain) { this.dirRemain = dirRemain; return this; } /** * <p>The maximum number of URLs of files that can be prefetched each day.</p> * * <strong>example:</strong> * <p>500</p> */ public Builder preloadQuota(String preloadQuota) { this.preloadQuota = preloadQuota; return this; } /** * <p>The remaining number of URLs of files that can be prefetched on the current day.</p> * * <strong>example:</strong> * <p>500</p> */ public Builder preloadRemain(String preloadRemain) { this.preloadRemain = preloadRemain; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>42E0554B-80F4-4921-****-ACFB22CAAAD0</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The maximum number of URLs of files that can be refreshed each day.</p> * * <strong>example:</strong> * <p>2000</p> */ public Builder urlQuota(String urlQuota) { this.urlQuota = urlQuota; return this; } /** * <p>The remaining number of URLs of files that can be refreshed on the current day.</p> * * <strong>example:</strong> * <p>1996</p> */ public Builder urlRemain(String urlRemain) { this.urlRemain = urlRemain; return this; } /** * <p>The remaining number of OSS buckets that can be refreshed on the current day.</p> * * <strong>example:</strong> * <p>500</p> */ public Builder blockRemain(String blockRemain) { this.blockRemain = blockRemain; return this; } public DescribeVodRefreshQuotaResponseBody build() { return new DescribeVodRefreshQuotaResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodRefreshTasksRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodRefreshTasksRequest} extends {@link RequestModel} * * <p>DescribeVodRefreshTasksRequest</p> */ public class DescribeVodRefreshTasksRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DomainName") private String domainName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ObjectPath") private String objectPath; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ObjectType") private String objectType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageNumber") @com.aliyun.core.annotation.Validation(maximum = 42949672, minimum = 1) private Integer pageNumber; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") @com.aliyun.core.annotation.Validation(maximum = 50, minimum = 1) private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecurityToken") private String securityToken; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskId") private String taskId; private DescribeVodRefreshTasksRequest(Builder builder) { super(builder); this.domainName = builder.domainName; this.endTime = builder.endTime; this.objectPath = builder.objectPath; this.objectType = builder.objectType; this.ownerId = builder.ownerId; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.securityToken = builder.securityToken; this.startTime = builder.startTime; this.status = builder.status; this.taskId = builder.taskId; } public static Builder builder() { return new Builder(); } public static DescribeVodRefreshTasksRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return domainName */ public String getDomainName() { return this.domainName; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return objectPath */ public String getObjectPath() { return this.objectPath; } /** * @return objectType */ public String getObjectType() { return this.objectType; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } /** * @return startTime */ public String getStartTime() { return this.startTime; } /** * @return status */ public String getStatus() { return this.status; } /** * @return taskId */ public String getTaskId() { return this.taskId; } public static final class Builder extends Request.Builder<DescribeVodRefreshTasksRequest, Builder> { private String domainName; private String endTime; private String objectPath; private String objectType; private Long ownerId; private Integer pageNumber; private Integer pageSize; private String securityToken; private String startTime; private String status; private String taskId; private Builder() { super(); } private Builder(DescribeVodRefreshTasksRequest request) { super(request); this.domainName = request.domainName; this.endTime = request.endTime; this.objectPath = request.objectPath; this.objectType = request.objectType; this.ownerId = request.ownerId; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.securityToken = request.securityToken; this.startTime = request.startTime; this.status = request.status; this.taskId = request.taskId; } /** * <p>The domain name.</p> * * <strong>example:</strong> * <p>example.com</p> */ public Builder domainName(String domainName) { this.putQueryParameter("DomainName", domainName); this.domainName = domainName; return this; } /** * <p>The end of the time range to query. Specify the time in the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time must be in UTC.</p> * * <strong>example:</strong> * <p>2017-01-01T12:30:20Z</p> */ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * <p>The path of the object. The path is used as a condition for exact matching.</p> * * <strong>example:</strong> * <p><a href="http://example.com/***.txt">http://example.com/***.txt</a></p> */ public Builder objectPath(String objectPath) { this.putQueryParameter("ObjectPath", objectPath); this.objectPath = objectPath; return this; } /** * <p>The type of the task. Valid values:</p> * <ul> * <li><strong>file</strong>: refreshes one or more files.</li> * <li><strong>directory</strong>: refreshes files in the specified directories.</li> * <li><strong>preload</strong>: prefetches one or more files.</li> * </ul> * <blockquote> * <p>If you specify the DomainName or Status parameter, you must also specify the ObjectType parameter.</p> * </blockquote> * * <strong>example:</strong> * <p>file</p> */ public Builder objectType(String objectType) { this.putQueryParameter("ObjectType", objectType); this.objectType = objectType; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * <p>The page number.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Integer pageNumber) { this.putQueryParameter("PageNumber", pageNumber); this.pageNumber = pageNumber; return this; } /** * <p>The number of entries to return on each page. Default value: <strong>20</strong>. Maximum value: <strong>50</strong>.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } /** * <p>The beginning of the time range to query. Specify the time in the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time must be in UTC.</p> * <blockquote> * <p>You can query data that is collected in the last three days.</p> * </blockquote> * * <strong>example:</strong> * <p>2017-01-01T12:12:20Z</p> */ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } /** * <p>The status of the task. Valid values:</p> * <ul> * <li><strong>Complete</strong>: The task is complete.</li> * <li><strong>Refreshing</strong>: The task is in progress.</li> * <li><strong>Failed</strong>: The task failed.</li> * </ul> * * <strong>example:</strong> * <p>Complete</p> */ public Builder status(String status) { this.putQueryParameter("Status", status); this.status = status; return this; } /** * <p>The ID of the task that you want to query.</p> * * <strong>example:</strong> * <p>70422****</p> */ public Builder taskId(String taskId) { this.putQueryParameter("TaskId", taskId); this.taskId = taskId; return this; } @Override public DescribeVodRefreshTasksRequest build() { return new DescribeVodRefreshTasksRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodRefreshTasksResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodRefreshTasksResponse} extends {@link TeaModel} * * <p>DescribeVodRefreshTasksResponse</p> */ public class DescribeVodRefreshTasksResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeVodRefreshTasksResponseBody body; private DescribeVodRefreshTasksResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVodRefreshTasksResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeVodRefreshTasksResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVodRefreshTasksResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVodRefreshTasksResponseBody body); @Override DescribeVodRefreshTasksResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVodRefreshTasksResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVodRefreshTasksResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVodRefreshTasksResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeVodRefreshTasksResponseBody body) { this.body = body; return this; } @Override public DescribeVodRefreshTasksResponse build() { return new DescribeVodRefreshTasksResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodRefreshTasksResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodRefreshTasksResponseBody} extends {@link TeaModel} * * <p>DescribeVodRefreshTasksResponseBody</p> */ public class DescribeVodRefreshTasksResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("PageNumber") private Long pageNumber; @com.aliyun.core.annotation.NameInMap("PageSize") private Long pageSize; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Tasks") private Tasks tasks; @com.aliyun.core.annotation.NameInMap("TotalCount") private Long totalCount; private DescribeVodRefreshTasksResponseBody(Builder builder) { this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.tasks = builder.tasks; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeVodRefreshTasksResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return pageNumber */ public Long getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Long getPageSize() { return this.pageSize; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return tasks */ public Tasks getTasks() { return this.tasks; } /** * @return totalCount */ public Long getTotalCount() { return this.totalCount; } public static final class Builder { private Long pageNumber; private Long pageSize; private String requestId; private Tasks tasks; private Long totalCount; private Builder() { } private Builder(DescribeVodRefreshTasksResponseBody model) { this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.requestId = model.requestId; this.tasks = model.tasks; this.totalCount = model.totalCount; } /** * <p>The page number of the returned page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Long pageNumber) { this.pageNumber = pageNumber; return this; } /** * <p>The number of entries returned per page.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Long pageSize) { this.pageSize = pageSize; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>174F6032-AA26-470D-****-36F0EB205BEE</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The information about the returned tasks.</p> */ public Builder tasks(Tasks tasks) { this.tasks = tasks; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder totalCount(Long totalCount) { this.totalCount = totalCount; return this; } public DescribeVodRefreshTasksResponseBody build() { return new DescribeVodRefreshTasksResponseBody(this); } } /** * * {@link DescribeVodRefreshTasksResponseBody} extends {@link TeaModel} * * <p>DescribeVodRefreshTasksResponseBody</p> */ public static class Task extends TeaModel { @com.aliyun.core.annotation.NameInMap("CreationTime") private String creationTime; @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("ObjectPath") private String objectPath; @com.aliyun.core.annotation.NameInMap("ObjectType") private String objectType; @com.aliyun.core.annotation.NameInMap("Process") private String process; @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.NameInMap("TaskId") private String taskId; private Task(Builder builder) { this.creationTime = builder.creationTime; this.description = builder.description; this.objectPath = builder.objectPath; this.objectType = builder.objectType; this.process = builder.process; this.status = builder.status; this.taskId = builder.taskId; } public static Builder builder() { return new Builder(); } public static Task create() { return builder().build(); } /** * @return creationTime */ public String getCreationTime() { return this.creationTime; } /** * @return description */ public String getDescription() { return this.description; } /** * @return objectPath */ public String getObjectPath() { return this.objectPath; } /** * @return objectType */ public String getObjectType() { return this.objectType; } /** * @return process */ public String getProcess() { return this.process; } /** * @return status */ public String getStatus() { return this.status; } /** * @return taskId */ public String getTaskId() { return this.taskId; } public static final class Builder { private String creationTime; private String description; private String objectPath; private String objectType; private String process; private String status; private String taskId; private Builder() { } private Builder(Task model) { this.creationTime = model.creationTime; this.description = model.description; this.objectPath = model.objectPath; this.objectType = model.objectType; this.process = model.process; this.status = model.status; this.taskId = model.taskId; } /** * <p>The time when the task was created. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2014-11-27T08:23:22Z</p> */ public Builder creationTime(String creationTime) { this.creationTime = creationTime; return this; } /** * <p>The type of error returned when the refresh or prefetch task failed. Valid values: Valid values:</p> * <ul> * <li><strong>Internal Error</strong>: An internal error occurred.</li> * <li><strong>Origin Timeout</strong>: The response from the origin server timed out.</li> * <li><strong>Origin Return StatusCode 5XX</strong>: The origin server returned an HTTP status code 5xx.</li> * </ul> * * <strong>example:</strong> * <p>Internal Error</p> */ public Builder description(String description) { this.description = description; return this; } /** * <p>The URL of the object refreshed.</p> * * <strong>example:</strong> * <p><a href="http://example.com/****.txt">http://example.com/****.txt</a></p> */ public Builder objectPath(String objectPath) { this.objectPath = objectPath; return this; } /** * <p>The type of the task. Default value: file. Valid values:</p> * <ul> * <li><strong>file</strong>: refreshes one or more files.</li> * <li><strong>directory</strong>: refreshes files in the specified directory.</li> * <li><strong>preload</strong>: prefetches one or more files.</li> * </ul> * * <strong>example:</strong> * <p>file</p> */ public Builder objectType(String objectType) { this.objectType = objectType; return this; } /** * <p>The progress of the task in percentage.</p> * * <strong>example:</strong> * <p>100%</p> */ public Builder process(String process) { this.process = process; return this; } /** * <p>The status of the task. Valid values:</p> * <ul> * <li><strong>Complete</strong>: The task is complete.</li> * <li><strong>Refreshing</strong>: The task is in progress.</li> * <li><strong>Failed</strong>: The task failed.</li> * <li><strong>Pending</strong>: The task is pending.</li> * </ul> * * <strong>example:</strong> * <p>Complete</p> */ public Builder status(String status) { this.status = status; return this; } /** * <p>The ID of the task.</p> * * <strong>example:</strong> * <p>704225667</p> */ public Builder taskId(String taskId) { this.taskId = taskId; return this; } public Task build() { return new Task(this); } } } /** * * {@link DescribeVodRefreshTasksResponseBody} extends {@link TeaModel} * * <p>DescribeVodRefreshTasksResponseBody</p> */ public static class Tasks extends TeaModel { @com.aliyun.core.annotation.NameInMap("Task") private java.util.List<Task> task; private Tasks(Builder builder) { this.task = builder.task; } public static Builder builder() { return new Builder(); } public static Tasks create() { return builder().build(); } /** * @return task */ public java.util.List<Task> getTask() { return this.task; } public static final class Builder { private java.util.List<Task> task; private Builder() { } private Builder(Tasks model) { this.task = model.task; } /** * Task. */ public Builder task(java.util.List<Task> task) { this.task = task; return this; } public Tasks build() { return new Tasks(this); } } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodSSLCertificateListRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodSSLCertificateListRequest} extends {@link RequestModel} * * <p>DescribeVodSSLCertificateListRequest</p> */ public class DescribeVodSSLCertificateListRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DomainName") private String domainName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageNumber") private Long pageNumber; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Long pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SearchKeyword") private String searchKeyword; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecurityToken") private String securityToken; private DescribeVodSSLCertificateListRequest(Builder builder) { super(builder); this.domainName = builder.domainName; this.ownerId = builder.ownerId; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.searchKeyword = builder.searchKeyword; this.securityToken = builder.securityToken; } public static Builder builder() { return new Builder(); } public static DescribeVodSSLCertificateListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return domainName */ public String getDomainName() { return this.domainName; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return pageNumber */ public Long getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Long getPageSize() { return this.pageSize; } /** * @return searchKeyword */ public String getSearchKeyword() { return this.searchKeyword; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } public static final class Builder extends Request.Builder<DescribeVodSSLCertificateListRequest, Builder> { private String domainName; private Long ownerId; private Long pageNumber; private Long pageSize; private String searchKeyword; private String securityToken; private Builder() { super(); } private Builder(DescribeVodSSLCertificateListRequest request) { super(request); this.domainName = request.domainName; this.ownerId = request.ownerId; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.searchKeyword = request.searchKeyword; this.securityToken = request.securityToken; } /** * <p>The accelerated domain name.</p> * * <strong>example:</strong> * <p>example.com</p> */ public Builder domainName(String domainName) { this.putQueryParameter("DomainName", domainName); this.domainName = domainName; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * <p>The page number. Default value: 1.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Long pageNumber) { this.putQueryParameter("PageNumber", pageNumber); this.pageNumber = pageNumber; return this; } /** * <p>The number of entries per page. Valid values: integers from 1 to 1000.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Long pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The keyword that is used to query certificates.</p> * * <strong>example:</strong> * <p>certabc</p> */ public Builder searchKeyword(String searchKeyword) { this.putQueryParameter("SearchKeyword", searchKeyword); this.searchKeyword = searchKeyword; return this; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } @Override public DescribeVodSSLCertificateListRequest build() { return new DescribeVodSSLCertificateListRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodSSLCertificateListResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodSSLCertificateListResponse} extends {@link TeaModel} * * <p>DescribeVodSSLCertificateListResponse</p> */ public class DescribeVodSSLCertificateListResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeVodSSLCertificateListResponseBody body; private DescribeVodSSLCertificateListResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVodSSLCertificateListResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeVodSSLCertificateListResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVodSSLCertificateListResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVodSSLCertificateListResponseBody body); @Override DescribeVodSSLCertificateListResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVodSSLCertificateListResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVodSSLCertificateListResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVodSSLCertificateListResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeVodSSLCertificateListResponseBody body) { this.body = body; return this; } @Override public DescribeVodSSLCertificateListResponse build() { return new DescribeVodSSLCertificateListResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodSSLCertificateListResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodSSLCertificateListResponseBody} extends {@link TeaModel} * * <p>DescribeVodSSLCertificateListResponseBody</p> */ public class DescribeVodSSLCertificateListResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("CertificateListModel") private CertificateListModel certificateListModel; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeVodSSLCertificateListResponseBody(Builder builder) { this.certificateListModel = builder.certificateListModel; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeVodSSLCertificateListResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return certificateListModel */ public CertificateListModel getCertificateListModel() { return this.certificateListModel; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private CertificateListModel certificateListModel; private String requestId; private Builder() { } private Builder(DescribeVodSSLCertificateListResponseBody model) { this.certificateListModel = model.certificateListModel; this.requestId = model.requestId; } /** * <p>The information about certificates.</p> */ public Builder certificateListModel(CertificateListModel certificateListModel) { this.certificateListModel = certificateListModel; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>25818875-5F78-4AF6-D7393642CA58****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeVodSSLCertificateListResponseBody build() { return new DescribeVodSSLCertificateListResponseBody(this); } } /** * * {@link DescribeVodSSLCertificateListResponseBody} extends {@link TeaModel} * * <p>DescribeVodSSLCertificateListResponseBody</p> */ public static class Cert extends TeaModel { @com.aliyun.core.annotation.NameInMap("CertId") private Long certId; @com.aliyun.core.annotation.NameInMap("CertName") private String certName; @com.aliyun.core.annotation.NameInMap("CertRegion") private String certRegion; @com.aliyun.core.annotation.NameInMap("Common") private String common; @com.aliyun.core.annotation.NameInMap("Fingerprint") private String fingerprint; @com.aliyun.core.annotation.NameInMap("Issuer") private String issuer; @com.aliyun.core.annotation.NameInMap("LastTime") private Long lastTime; private Cert(Builder builder) { this.certId = builder.certId; this.certName = builder.certName; this.certRegion = builder.certRegion; this.common = builder.common; this.fingerprint = builder.fingerprint; this.issuer = builder.issuer; this.lastTime = builder.lastTime; } public static Builder builder() { return new Builder(); } public static Cert create() { return builder().build(); } /** * @return certId */ public Long getCertId() { return this.certId; } /** * @return certName */ public String getCertName() { return this.certName; } /** * @return certRegion */ public String getCertRegion() { return this.certRegion; } /** * @return common */ public String getCommon() { return this.common; } /** * @return fingerprint */ public String getFingerprint() { return this.fingerprint; } /** * @return issuer */ public String getIssuer() { return this.issuer; } /** * @return lastTime */ public Long getLastTime() { return this.lastTime; } public static final class Builder { private Long certId; private String certName; private String certRegion; private String common; private String fingerprint; private String issuer; private Long lastTime; private Builder() { } private Builder(Cert model) { this.certId = model.certId; this.certName = model.certName; this.certRegion = model.certRegion; this.common = model.common; this.fingerprint = model.fingerprint; this.issuer = model.issuer; this.lastTime = model.lastTime; } /** * <p>The ID of the certificate.</p> * * <strong>example:</strong> * <p>235437</p> */ public Builder certId(Long certId) { this.certId = certId; return this; } /** * <p>The name of the certificate.</p> * * <strong>example:</strong> * <p>video-ssl</p> */ public Builder certName(String certName) { this.certName = certName; return this; } /** * <p>The region of the certificate. Valid values: <strong>cn-hangzhou</strong> and <strong>ap-southeast-1</strong>. Default value: <strong>cn-hangzhou</strong>.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder certRegion(String certRegion) { this.certRegion = certRegion; return this; } /** * <p>The Common Name (CN) attribute of the certificate. In most cases, the CN is a domain name.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder common(String common) { this.common = common; return this; } /** * <p>The fingerprint of the certificate.</p> * * <strong>example:</strong> * <hr> */ public Builder fingerprint(String fingerprint) { this.fingerprint = fingerprint; return this; } /** * <p>The certificate authority (CA) that issued the certificate.</p> * * <strong>example:</strong> * <hr> */ public Builder issuer(String issuer) { this.issuer = issuer; return this; } /** * <p>The time when the certificate was last modified. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1512388610</p> */ public Builder lastTime(Long lastTime) { this.lastTime = lastTime; return this; } public Cert build() { return new Cert(this); } } } /** * * {@link DescribeVodSSLCertificateListResponseBody} extends {@link TeaModel} * * <p>DescribeVodSSLCertificateListResponseBody</p> */ public static class CertList extends TeaModel { @com.aliyun.core.annotation.NameInMap("Cert") private java.util.List<Cert> cert; private CertList(Builder builder) { this.cert = builder.cert; } public static Builder builder() { return new Builder(); } public static CertList create() { return builder().build(); } /** * @return cert */ public java.util.List<Cert> getCert() { return this.cert; } public static final class Builder { private java.util.List<Cert> cert; private Builder() { } private Builder(CertList model) { this.cert = model.cert; } /** * Cert. */ public Builder cert(java.util.List<Cert> cert) { this.cert = cert; return this; } public CertList build() { return new CertList(this); } } } /** * * {@link DescribeVodSSLCertificateListResponseBody} extends {@link TeaModel} * * <p>DescribeVodSSLCertificateListResponseBody</p> */ public static class CertificateListModel extends TeaModel { @com.aliyun.core.annotation.NameInMap("CertList") private CertList certList; @com.aliyun.core.annotation.NameInMap("Count") private Integer count; @com.aliyun.core.annotation.NameInMap("PageNumber") private Long pageNumber; @com.aliyun.core.annotation.NameInMap("PageSize") private Long pageSize; private CertificateListModel(Builder builder) { this.certList = builder.certList; this.count = builder.count; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; } public static Builder builder() { return new Builder(); } public static CertificateListModel create() { return builder().build(); } /** * @return certList */ public CertList getCertList() { return this.certList; } /** * @return count */ public Integer getCount() { return this.count; } /** * @return pageNumber */ public Long getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Long getPageSize() { return this.pageSize; } public static final class Builder { private CertList certList; private Integer count; private Long pageNumber; private Long pageSize; private Builder() { } private Builder(CertificateListModel model) { this.certList = model.certList; this.count = model.count; this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; } /** * <p>The list of certificates.</p> */ public Builder certList(CertList certList) { this.certList = certList; return this; } /** * <p>The number of certificates that are returned.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder count(Integer count) { this.count = count; return this; } /** * <p>The page number. Pages start from page 1. Default value: 1.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Long pageNumber) { this.pageNumber = pageNumber; return this; } /** * <p>The number of entries per page. Valid values: integers from 1 to 1000.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Long pageSize) { this.pageSize = pageSize; return this; } public CertificateListModel build() { return new CertificateListModel(this); } } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodStorageDataRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodStorageDataRequest} extends {@link RequestModel} * * <p>DescribeVodStorageDataRequest</p> */ public class DescribeVodStorageDataRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EndTime") @com.aliyun.core.annotation.Validation(required = true) private String endTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Region") private String region; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") @com.aliyun.core.annotation.Validation(required = true) private String startTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Storage") private String storage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StorageType") private String storageType; private DescribeVodStorageDataRequest(Builder builder) { super(builder); this.appId = builder.appId; this.endTime = builder.endTime; this.ownerId = builder.ownerId; this.region = builder.region; this.startTime = builder.startTime; this.storage = builder.storage; this.storageType = builder.storageType; } public static Builder builder() { return new Builder(); } public static DescribeVodStorageDataRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return region */ public String getRegion() { return this.region; } /** * @return startTime */ public String getStartTime() { return this.startTime; } /** * @return storage */ public String getStorage() { return this.storage; } /** * @return storageType */ public String getStorageType() { return this.storageType; } public static final class Builder extends Request.Builder<DescribeVodStorageDataRequest, Builder> { private String appId; private String endTime; private Long ownerId; private String region; private String startTime; private String storage; private String storageType; private Builder() { super(); } private Builder(DescribeVodStorageDataRequest request) { super(request); this.appId = request.appId; this.endTime = request.endTime; this.ownerId = request.ownerId; this.region = request.region; this.startTime = request.startTime; this.storage = request.storage; this.storageType = request.storageType; } /** * <p>The ID of the application. </p> * <ul> * <li>Default value: <strong>app-1000000</strong>.</li> * </ul> * * <strong>example:</strong> * <p>app-1000000</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * <p>The end of the time range to query. The end time must be later than the start time. Specify the time in the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time must be in UTC.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2019-02-01T15:00:00Z</p> */ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * <p>The region in which you want to query storage data. If you leave this parameter empty, data in all regions is returned. Separate multiple regions with commas (,). Valid values:</p> * <ul> * <li><strong>cn-shanghai</strong>: China (Shanghai)</li> * <li><strong>cn-beijing</strong>: China (Beijing)</li> * <li><strong>eu-central-1</strong>: Germany (Frankfurt)</li> * <li><strong>ap-southeast-1</strong>: Singapore</li> * </ul> * * <strong>example:</strong> * <p>cn-shanghai</p> */ public Builder region(String region) { this.putQueryParameter("Region", region); this.region = region; return this; } /** * <p>The beginning of the time range to query. Specify the time in the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time must be in UTC.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2019-02-01T14:00:00Z</p> */ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } /** * <p>The name of the Object Storage Service (OSS) bucket. If you leave this parameter empty, data of all buckets is returned. Separate multiple transcoding specifications with commas (,).</p> * * <strong>example:</strong> * <p>bucket</p> */ public Builder storage(String storage) { this.putQueryParameter("Storage", storage); this.storage = storage; return this; } /** * <p>The storage class. Set the value to <strong>OSS</strong>.</p> * * <strong>example:</strong> * <p>OSS</p> */ public Builder storageType(String storageType) { this.putQueryParameter("StorageType", storageType); this.storageType = storageType; return this; } @Override public DescribeVodStorageDataRequest build() { return new DescribeVodStorageDataRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodStorageDataResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodStorageDataResponse} extends {@link TeaModel} * * <p>DescribeVodStorageDataResponse</p> */ public class DescribeVodStorageDataResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeVodStorageDataResponseBody body; private DescribeVodStorageDataResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVodStorageDataResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeVodStorageDataResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVodStorageDataResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVodStorageDataResponseBody body); @Override DescribeVodStorageDataResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVodStorageDataResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVodStorageDataResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVodStorageDataResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeVodStorageDataResponseBody body) { this.body = body; return this; } @Override public DescribeVodStorageDataResponse build() { return new DescribeVodStorageDataResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodStorageDataResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodStorageDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodStorageDataResponseBody</p> */ public class DescribeVodStorageDataResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DataInterval") private String dataInterval; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("StorageData") private StorageData storageData; private DescribeVodStorageDataResponseBody(Builder builder) { this.dataInterval = builder.dataInterval; this.requestId = builder.requestId; this.storageData = builder.storageData; } public static Builder builder() { return new Builder(); } public static DescribeVodStorageDataResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return dataInterval */ public String getDataInterval() { return this.dataInterval; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return storageData */ public StorageData getStorageData() { return this.storageData; } public static final class Builder { private String dataInterval; private String requestId; private StorageData storageData; private Builder() { } private Builder(DescribeVodStorageDataResponseBody model) { this.dataInterval = model.dataInterval; this.requestId = model.requestId; this.storageData = model.storageData; } /** * <p>The time granularity at which the data was queried. Valid values:</p> * <ul> * <li><strong>hour</strong></li> * <li><strong>day</strong></li> * </ul> * * <strong>example:</strong> * <p>day</p> */ public Builder dataInterval(String dataInterval) { this.dataInterval = dataInterval; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>C370DAF1-C838-4288-****-9A87633D248E</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The storage usage data returned.</p> */ public Builder storageData(StorageData storageData) { this.storageData = storageData; return this; } public DescribeVodStorageDataResponseBody build() { return new DescribeVodStorageDataResponseBody(this); } } /** * * {@link DescribeVodStorageDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodStorageDataResponseBody</p> */ public static class StorageDataItem extends TeaModel { @com.aliyun.core.annotation.NameInMap("NetworkOut") private String networkOut; @com.aliyun.core.annotation.NameInMap("StorageUtilization") private String storageUtilization; @com.aliyun.core.annotation.NameInMap("TimeStamp") private String timeStamp; private StorageDataItem(Builder builder) { this.networkOut = builder.networkOut; this.storageUtilization = builder.storageUtilization; this.timeStamp = builder.timeStamp; } public static Builder builder() { return new Builder(); } public static StorageDataItem create() { return builder().build(); } /** * @return networkOut */ public String getNetworkOut() { return this.networkOut; } /** * @return storageUtilization */ public String getStorageUtilization() { return this.storageUtilization; } /** * @return timeStamp */ public String getTimeStamp() { return this.timeStamp; } public static final class Builder { private String networkOut; private String storageUtilization; private String timeStamp; private Builder() { } private Builder(StorageDataItem model) { this.networkOut = model.networkOut; this.storageUtilization = model.storageUtilization; this.timeStamp = model.timeStamp; } /** * <p>The outbound traffic. Unit: bytes. The outbound traffic is generated when videos are directly downloaded or played from OSS buckets without Alibaba Cloud CDN acceleration.</p> * * <strong>example:</strong> * <p>111111</p> */ public Builder networkOut(String networkOut) { this.networkOut = networkOut; return this; } /** * <p>The detailed usage data of storage-related resources. Unit: bytes.</p> * * <strong>example:</strong> * <p>111111</p> */ public Builder storageUtilization(String storageUtilization) { this.storageUtilization = storageUtilization; return this; } /** * <p>The timestamp of the returned data. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2019-02-01T15:00:00Z</p> */ public Builder timeStamp(String timeStamp) { this.timeStamp = timeStamp; return this; } public StorageDataItem build() { return new StorageDataItem(this); } } } /** * * {@link DescribeVodStorageDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodStorageDataResponseBody</p> */ public static class StorageData extends TeaModel { @com.aliyun.core.annotation.NameInMap("StorageDataItem") private java.util.List<StorageDataItem> storageDataItem; private StorageData(Builder builder) { this.storageDataItem = builder.storageDataItem; } public static Builder builder() { return new Builder(); } public static StorageData create() { return builder().build(); } /** * @return storageDataItem */ public java.util.List<StorageDataItem> getStorageDataItem() { return this.storageDataItem; } public static final class Builder { private java.util.List<StorageDataItem> storageDataItem; private Builder() { } private Builder(StorageData model) { this.storageDataItem = model.storageDataItem; } /** * StorageDataItem. */ public Builder storageDataItem(java.util.List<StorageDataItem> storageDataItem) { this.storageDataItem = storageDataItem; return this; } public StorageData build() { return new StorageData(this); } } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodTieringStorageDataRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodTieringStorageDataRequest} extends {@link RequestModel} * * <p>DescribeVodTieringStorageDataRequest</p> */ public class DescribeVodTieringStorageDataRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Region") private String region; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StorageClass") private String storageClass; private DescribeVodTieringStorageDataRequest(Builder builder) { super(builder); this.appId = builder.appId; this.endTime = builder.endTime; this.ownerId = builder.ownerId; this.region = builder.region; this.startTime = builder.startTime; this.storageClass = builder.storageClass; } public static Builder builder() { return new Builder(); } public static DescribeVodTieringStorageDataRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return region */ public String getRegion() { return this.region; } /** * @return startTime */ public String getStartTime() { return this.startTime; } /** * @return storageClass */ public String getStorageClass() { return this.storageClass; } public static final class Builder extends Request.Builder<DescribeVodTieringStorageDataRequest, Builder> { private String appId; private String endTime; private Long ownerId; private String region; private String startTime; private String storageClass; private Builder() { super(); } private Builder(DescribeVodTieringStorageDataRequest request) { super(request); this.appId = request.appId; this.endTime = request.endTime; this.ownerId = request.ownerId; this.region = request.region; this.startTime = request.startTime; this.storageClass = request.storageClass; } /** * AppId. */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * <p>The end time at which data is obtained. The end time must be later than the start time. The difference cannot exceed 31 days. Specify the time in the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time must be in UTC.</p> * * <strong>example:</strong> * <p>2023-05-29T02:00:00Z</p> */ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * <p>The region in which you want to query data. If you leave this parameter empty, data in all regions is returned. Separate multiple regions with commas (,).</p> * * <strong>example:</strong> * <p>cn-beijing</p> */ public Builder region(String region) { this.putQueryParameter("Region", region); this.region = region; return this; } /** * <p>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. If you leave this parameter empty, data in the last 24 hours is queried.</p> * * <strong>example:</strong> * <p>2023-05-29T01:00:00Z</p> */ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } /** * <p>The storage type. By default, all storage types are returned. Valid values:</p> * <ul> * <li><strong>IA</strong></li> * <li><strong>Archive</strong></li> * <li><strong>ColdArchive</strong></li> * </ul> * * <strong>example:</strong> * <p>IA</p> */ public Builder storageClass(String storageClass) { this.putQueryParameter("StorageClass", storageClass); this.storageClass = storageClass; return this; } @Override public DescribeVodTieringStorageDataRequest build() { return new DescribeVodTieringStorageDataRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodTieringStorageDataResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodTieringStorageDataResponse} extends {@link TeaModel} * * <p>DescribeVodTieringStorageDataResponse</p> */ public class DescribeVodTieringStorageDataResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeVodTieringStorageDataResponseBody body; private DescribeVodTieringStorageDataResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVodTieringStorageDataResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeVodTieringStorageDataResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVodTieringStorageDataResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVodTieringStorageDataResponseBody body); @Override DescribeVodTieringStorageDataResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVodTieringStorageDataResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVodTieringStorageDataResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVodTieringStorageDataResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeVodTieringStorageDataResponseBody body) { this.body = body; return this; } @Override public DescribeVodTieringStorageDataResponse build() { return new DescribeVodTieringStorageDataResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodTieringStorageDataResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodTieringStorageDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodTieringStorageDataResponseBody</p> */ public class DescribeVodTieringStorageDataResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("StorageData") private java.util.List<StorageData> storageData; private DescribeVodTieringStorageDataResponseBody(Builder builder) { this.requestId = builder.requestId; this.storageData = builder.storageData; } public static Builder builder() { return new Builder(); } public static DescribeVodTieringStorageDataResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return storageData */ public java.util.List<StorageData> getStorageData() { return this.storageData; } public static final class Builder { private String requestId; private java.util.List<StorageData> storageData; private Builder() { } private Builder(DescribeVodTieringStorageDataResponseBody model) { this.requestId = model.requestId; this.storageData = model.storageData; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>25818875-5F78-4AF6-D7393642CA58****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The storage usage data returned.</p> */ public Builder storageData(java.util.List<StorageData> storageData) { this.storageData = storageData; return this; } public DescribeVodTieringStorageDataResponseBody build() { return new DescribeVodTieringStorageDataResponseBody(this); } } /** * * {@link DescribeVodTieringStorageDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodTieringStorageDataResponseBody</p> */ public static class StorageData extends TeaModel { @com.aliyun.core.annotation.NameInMap("LessthanMonthDatasize") private Long lessthanMonthDatasize; @com.aliyun.core.annotation.NameInMap("Region") private String region; @com.aliyun.core.annotation.NameInMap("StorageClass") private String storageClass; @com.aliyun.core.annotation.NameInMap("StorageUtilization") private Long storageUtilization; @com.aliyun.core.annotation.NameInMap("TimeStamp") private String timeStamp; private StorageData(Builder builder) { this.lessthanMonthDatasize = builder.lessthanMonthDatasize; this.region = builder.region; this.storageClass = builder.storageClass; this.storageUtilization = builder.storageUtilization; this.timeStamp = builder.timeStamp; } public static Builder builder() { return new Builder(); } public static StorageData create() { return builder().build(); } /** * @return lessthanMonthDatasize */ public Long getLessthanMonthDatasize() { return this.lessthanMonthDatasize; } /** * @return region */ public String getRegion() { return this.region; } /** * @return storageClass */ public String getStorageClass() { return this.storageClass; } /** * @return storageUtilization */ public Long getStorageUtilization() { return this.storageUtilization; } /** * @return timeStamp */ public String getTimeStamp() { return this.timeStamp; } public static final class Builder { private Long lessthanMonthDatasize; private String region; private String storageClass; private Long storageUtilization; private String timeStamp; private Builder() { } private Builder(StorageData model) { this.lessthanMonthDatasize = model.lessthanMonthDatasize; this.region = model.region; this.storageClass = model.storageClass; this.storageUtilization = model.storageUtilization; this.timeStamp = model.timeStamp; } /** * <p>The data that is stored less than a month. Unit: bytes.</p> * * <strong>example:</strong> * <p>123</p> */ public Builder lessthanMonthDatasize(Long lessthanMonthDatasize) { this.lessthanMonthDatasize = lessthanMonthDatasize; return this; } /** * <p>The region in which data is queried.</p> * * <strong>example:</strong> * <p>cn-beijing</p> */ public Builder region(String region) { this.region = region; return this; } /** * <p>The storage type.</p> * * <strong>example:</strong> * <p>IA</p> */ public Builder storageClass(String storageClass) { this.storageClass = storageClass; return this; } /** * <p>The storage usage. Unit: bytes.</p> * * <strong>example:</strong> * <p>1234</p> */ public Builder storageUtilization(Long storageUtilization) { this.storageUtilization = storageUtilization; return this; } /** * <p>The timestamp of the data returned. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2023-05-29T01:00:00Z</p> */ public Builder timeStamp(String timeStamp) { this.timeStamp = timeStamp; return this; } public StorageData build() { return new StorageData(this); } } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodTieringStorageRetrievalDataRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodTieringStorageRetrievalDataRequest} extends {@link RequestModel} * * <p>DescribeVodTieringStorageRetrievalDataRequest</p> */ public class DescribeVodTieringStorageRetrievalDataRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Region") private String region; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StorageClass") private String storageClass; private DescribeVodTieringStorageRetrievalDataRequest(Builder builder) { super(builder); this.appId = builder.appId; this.endTime = builder.endTime; this.ownerId = builder.ownerId; this.region = builder.region; this.startTime = builder.startTime; this.storageClass = builder.storageClass; } public static Builder builder() { return new Builder(); } public static DescribeVodTieringStorageRetrievalDataRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return region */ public String getRegion() { return this.region; } /** * @return startTime */ public String getStartTime() { return this.startTime; } /** * @return storageClass */ public String getStorageClass() { return this.storageClass; } public static final class Builder extends Request.Builder<DescribeVodTieringStorageRetrievalDataRequest, Builder> { private String appId; private String endTime; private Long ownerId; private String region; private String startTime; private String storageClass; private Builder() { super(); } private Builder(DescribeVodTieringStorageRetrievalDataRequest request) { super(request); this.appId = request.appId; this.endTime = request.endTime; this.ownerId = request.ownerId; this.region = request.region; this.startTime = request.startTime; this.storageClass = request.storageClass; } /** * AppId. */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * <p>The end of the time range to query. The end time must be later than the start time. The time range cannot exceed 31 days. Specify the time in the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time must be in UTC.</p> * * <strong>example:</strong> * <p>2023-06-02T11:20:00Z</p> */ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * <p>The region in which you want to query data. If you leave this parameter empty, data in all regions is returned. Separate multiple regions with commas (,).</p> * * <strong>example:</strong> * <p>cn-beijing</p> */ public Builder region(String region) { this.putQueryParameter("Region", region); this.region = region; return this; } /** * <p>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. The minimum time range is 5 minutes. If you leave this parameter empty, data in the last 24 hours is queried.</p> * * <strong>example:</strong> * <p>2023-06-02T10:20:00Z</p> */ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } /** * <p>The storage type. Valid values:</p> * <ul> * <li><strong>IA</strong></li> * <li><strong>Archive</strong></li> * <li><strong>ColdArchive</strong></li> * </ul> * * <strong>example:</strong> * <p>IA</p> */ public Builder storageClass(String storageClass) { this.putQueryParameter("StorageClass", storageClass); this.storageClass = storageClass; return this; } @Override public DescribeVodTieringStorageRetrievalDataRequest build() { return new DescribeVodTieringStorageRetrievalDataRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodTieringStorageRetrievalDataResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodTieringStorageRetrievalDataResponse} extends {@link TeaModel} * * <p>DescribeVodTieringStorageRetrievalDataResponse</p> */ public class DescribeVodTieringStorageRetrievalDataResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeVodTieringStorageRetrievalDataResponseBody body; private DescribeVodTieringStorageRetrievalDataResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVodTieringStorageRetrievalDataResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeVodTieringStorageRetrievalDataResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVodTieringStorageRetrievalDataResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVodTieringStorageRetrievalDataResponseBody body); @Override DescribeVodTieringStorageRetrievalDataResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVodTieringStorageRetrievalDataResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVodTieringStorageRetrievalDataResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVodTieringStorageRetrievalDataResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeVodTieringStorageRetrievalDataResponseBody body) { this.body = body; return this; } @Override public DescribeVodTieringStorageRetrievalDataResponse build() { return new DescribeVodTieringStorageRetrievalDataResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodTieringStorageRetrievalDataResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodTieringStorageRetrievalDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodTieringStorageRetrievalDataResponseBody</p> */ public class DescribeVodTieringStorageRetrievalDataResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("RetrievalData") private java.util.List<RetrievalData> retrievalData; private DescribeVodTieringStorageRetrievalDataResponseBody(Builder builder) { this.requestId = builder.requestId; this.retrievalData = builder.retrievalData; } public static Builder builder() { return new Builder(); } public static DescribeVodTieringStorageRetrievalDataResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return retrievalData */ public java.util.List<RetrievalData> getRetrievalData() { return this.retrievalData; } public static final class Builder { private String requestId; private java.util.List<RetrievalData> retrievalData; private Builder() { } private Builder(DescribeVodTieringStorageRetrievalDataResponseBody model) { this.requestId = model.requestId; this.retrievalData = model.retrievalData; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>25818875-5F78-4A13-BEF6-D73936****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The data retrieval information.</p> */ public Builder retrievalData(java.util.List<RetrievalData> retrievalData) { this.retrievalData = retrievalData; return this; } public DescribeVodTieringStorageRetrievalDataResponseBody build() { return new DescribeVodTieringStorageRetrievalDataResponseBody(this); } } /** * * {@link DescribeVodTieringStorageRetrievalDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodTieringStorageRetrievalDataResponseBody</p> */ public static class RetrievalData extends TeaModel { @com.aliyun.core.annotation.NameInMap("CABulkRetrievalData") private Long CABulkRetrievalData; @com.aliyun.core.annotation.NameInMap("CAHighPriorRetrievalData") private Long CAHighPriorRetrievalData; @com.aliyun.core.annotation.NameInMap("CAStdRetrievalData") private Long CAStdRetrievalData; @com.aliyun.core.annotation.NameInMap("Region") private String region; @com.aliyun.core.annotation.NameInMap("RetrievalData") private Long retrievalData; @com.aliyun.core.annotation.NameInMap("StorageClass") private String storageClass; @com.aliyun.core.annotation.NameInMap("TimeStamp") private String timeStamp; private RetrievalData(Builder builder) { this.CABulkRetrievalData = builder.CABulkRetrievalData; this.CAHighPriorRetrievalData = builder.CAHighPriorRetrievalData; this.CAStdRetrievalData = builder.CAStdRetrievalData; this.region = builder.region; this.retrievalData = builder.retrievalData; this.storageClass = builder.storageClass; this.timeStamp = builder.timeStamp; } public static Builder builder() { return new Builder(); } public static RetrievalData create() { return builder().build(); } /** * @return CABulkRetrievalData */ public Long getCABulkRetrievalData() { return this.CABulkRetrievalData; } /** * @return CAHighPriorRetrievalData */ public Long getCAHighPriorRetrievalData() { return this.CAHighPriorRetrievalData; } /** * @return CAStdRetrievalData */ public Long getCAStdRetrievalData() { return this.CAStdRetrievalData; } /** * @return region */ public String getRegion() { return this.region; } /** * @return retrievalData */ public Long getRetrievalData() { return this.retrievalData; } /** * @return storageClass */ public String getStorageClass() { return this.storageClass; } /** * @return timeStamp */ public String getTimeStamp() { return this.timeStamp; } public static final class Builder { private Long CABulkRetrievalData; private Long CAHighPriorRetrievalData; private Long CAStdRetrievalData; private String region; private Long retrievalData; private String storageClass; private String timeStamp; private Builder() { } private Builder(RetrievalData model) { this.CABulkRetrievalData = model.CABulkRetrievalData; this.CAHighPriorRetrievalData = model.CAHighPriorRetrievalData; this.CAStdRetrievalData = model.CAStdRetrievalData; this.region = model.region; this.retrievalData = model.retrievalData; this.storageClass = model.storageClass; this.timeStamp = model.timeStamp; } /** * <p>The retrieved Cold Archive data in the bulk mode.</p> * * <strong>example:</strong> * <p>123</p> */ public Builder CABulkRetrievalData(Long CABulkRetrievalData) { this.CABulkRetrievalData = CABulkRetrievalData; return this; } /** * <p>The retrieved Cold Archive data in the expedited mode.</p> * * <strong>example:</strong> * <p>123</p> */ public Builder CAHighPriorRetrievalData(Long CAHighPriorRetrievalData) { this.CAHighPriorRetrievalData = CAHighPriorRetrievalData; return this; } /** * <p>The retrieved Cold Archive data in the standard mode.</p> * * <strong>example:</strong> * <p>123</p> */ public Builder CAStdRetrievalData(Long CAStdRetrievalData) { this.CAStdRetrievalData = CAStdRetrievalData; return this; } /** * <p>The storage region.</p> * * <strong>example:</strong> * <p>cn-beijing</p> */ public Builder region(String region) { this.region = region; return this; } /** * <p>The data retrieval information.</p> * * <strong>example:</strong> * <p>1234</p> */ public Builder retrievalData(Long retrievalData) { this.retrievalData = retrievalData; return this; } /** * <p>The storage type.</p> * * <strong>example:</strong> * <p>IA</p> */ public Builder storageClass(String storageClass) { this.storageClass = storageClass; return this; } /** * <p>The timestamp of the returned data. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2023-06-02T10:20:00Z</p> */ public Builder timeStamp(String timeStamp) { this.timeStamp = timeStamp; return this; } public RetrievalData build() { return new RetrievalData(this); } } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodTranscodeDataRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodTranscodeDataRequest} extends {@link RequestModel} * * <p>DescribeVodTranscodeDataRequest</p> */ public class DescribeVodTranscodeDataRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EndTime") @com.aliyun.core.annotation.Validation(required = true) private String endTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Interval") private String interval; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Region") private String region; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Specification") private String specification; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") @com.aliyun.core.annotation.Validation(required = true) private String startTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Storage") private String storage; private DescribeVodTranscodeDataRequest(Builder builder) { super(builder); this.appId = builder.appId; this.endTime = builder.endTime; this.interval = builder.interval; this.ownerId = builder.ownerId; this.region = builder.region; this.specification = builder.specification; this.startTime = builder.startTime; this.storage = builder.storage; } public static Builder builder() { return new Builder(); } public static DescribeVodTranscodeDataRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return interval */ public String getInterval() { return this.interval; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return region */ public String getRegion() { return this.region; } /** * @return specification */ public String getSpecification() { return this.specification; } /** * @return startTime */ public String getStartTime() { return this.startTime; } /** * @return storage */ public String getStorage() { return this.storage; } public static final class Builder extends Request.Builder<DescribeVodTranscodeDataRequest, Builder> { private String appId; private String endTime; private String interval; private Long ownerId; private String region; private String specification; private String startTime; private String storage; private Builder() { super(); } private Builder(DescribeVodTranscodeDataRequest request) { super(request); this.appId = request.appId; this.endTime = request.endTime; this.interval = request.interval; this.ownerId = request.ownerId; this.region = request.region; this.specification = request.specification; this.startTime = request.startTime; this.storage = request.storage; } /** * <p>The ID of the application. You can specify this parameter to query the transcoding statistics of a specific application. By default, the transcoding statistics of all applications is returned. You can obtain the application ID from the <code>AppId</code> parameter in the response to the <a href="~~CreateAppInfo~~">CreateAppInfo</a> operation.</p> * * <strong>example:</strong> * <p>app-1000001</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * <p>The end of the time range to query. The end time must be later than the start time. Specify the time in the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time must be in UTC.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2019-02-01T15:59:00Z</p> */ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * <p>The interval at which you want to query data. Valid values:</p> * <ul> * <li><strong>day</strong>: days</li> * <li><strong>hour</strong>: hours</li> * </ul> * * <strong>example:</strong> * <p>day</p> */ public Builder interval(String interval) { this.putQueryParameter("Interval", interval); this.interval = interval; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * <p>The region in which you want to query data. If you leave this parameter empty, data in all regions is returned. Separate multiple regions with commas (,). Valid values:</p> * <ul> * <li><strong>cn-shanghai</strong>: China (Shanghai)</li> * <li><strong>cn-beijing</strong>: China (Beijing)</li> * <li><strong>eu-central-1</strong>: Germany (Frankfurt)</li> * <li><strong>ap-southeast-1</strong>: Singapore</li> * </ul> * * <strong>example:</strong> * <p>cn-shanghai</p> */ public Builder region(String region) { this.putQueryParameter("Region", region); this.region = region; return this; } /** * <p>The transcoding specification. If you leave this parameter empty, data of all transcoding specifications is returned. Separate multiple transcoding specifications with commas (,). Valid values:</p> * <ul> * <li><strong>Audio</strong>: audio transcoding</li> * <li><strong>Segmentation</strong>: container format conversion</li> * <li><strong>H264.LD</strong>, <strong>H264.SD</strong>, <strong>H264.HD</strong>, <strong>H264.2K</strong>, <strong>H264.4K</strong>, and more</li> * </ul> * * <strong>example:</strong> * <p>Audio</p> */ public Builder specification(String specification) { this.putQueryParameter("Specification", specification); this.specification = specification; return this; } /** * <p>The beginning of the time range to query. Specify the time in the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time must be in UTC.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2019-02-01T15:00:00Z</p> */ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } /** * <p>The name of the Object Storage Service (OSS) bucket. If you leave this parameter empty, data of all buckets is returned. Separate multiple bucket names with commas (,).</p> * * <strong>example:</strong> * <p>bucket01</p> */ public Builder storage(String storage) { this.putQueryParameter("Storage", storage); this.storage = storage; return this; } @Override public DescribeVodTranscodeDataRequest build() { return new DescribeVodTranscodeDataRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodTranscodeDataResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodTranscodeDataResponse} extends {@link TeaModel} * * <p>DescribeVodTranscodeDataResponse</p> */ public class DescribeVodTranscodeDataResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeVodTranscodeDataResponseBody body; private DescribeVodTranscodeDataResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVodTranscodeDataResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeVodTranscodeDataResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVodTranscodeDataResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVodTranscodeDataResponseBody body); @Override DescribeVodTranscodeDataResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVodTranscodeDataResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVodTranscodeDataResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVodTranscodeDataResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeVodTranscodeDataResponseBody body) { this.body = body; return this; } @Override public DescribeVodTranscodeDataResponse build() { return new DescribeVodTranscodeDataResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodTranscodeDataResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodTranscodeDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodTranscodeDataResponseBody</p> */ public class DescribeVodTranscodeDataResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DataInterval") private String dataInterval; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TranscodeData") private TranscodeData transcodeData; private DescribeVodTranscodeDataResponseBody(Builder builder) { this.dataInterval = builder.dataInterval; this.requestId = builder.requestId; this.transcodeData = builder.transcodeData; } public static Builder builder() { return new Builder(); } public static DescribeVodTranscodeDataResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return dataInterval */ public String getDataInterval() { return this.dataInterval; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return transcodeData */ public TranscodeData getTranscodeData() { return this.transcodeData; } public static final class Builder { private String dataInterval; private String requestId; private TranscodeData transcodeData; private Builder() { } private Builder(DescribeVodTranscodeDataResponseBody model) { this.dataInterval = model.dataInterval; this.requestId = model.requestId; this.transcodeData = model.transcodeData; } /** * <p>The interval at which the data was queried. Valid values:</p> * <ul> * <li><strong>hour</strong></li> * <li><strong>day</strong></li> * </ul> * * <strong>example:</strong> * <p>day</p> */ public Builder dataInterval(String dataInterval) { this.dataInterval = dataInterval; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>C370DAF1-C838-4288-****-9A87633D248E</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The transcoding statistics returned.</p> */ public Builder transcodeData(TranscodeData transcodeData) { this.transcodeData = transcodeData; return this; } public DescribeVodTranscodeDataResponseBody build() { return new DescribeVodTranscodeDataResponseBody(this); } } /** * * {@link DescribeVodTranscodeDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodTranscodeDataResponseBody</p> */ public static class DataItem extends TeaModel { @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("Value") private String value; private DataItem(Builder builder) { this.name = builder.name; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static DataItem create() { return builder().build(); } /** * @return name */ public String getName() { return this.name; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String name; private String value; private Builder() { } private Builder(DataItem model) { this.name = model.name; this.value = model.value; } /** * <p>The transcoding specification. Valid values:</p> * <ul> * <li><strong>Audio</strong>: audio transcoding</li> * <li><strong>Segmentation</strong>: container format conversion</li> * <li><strong>H264.LD, H264.SD, H264.HD, H264.2K, H264.4K, and more</strong></li> * </ul> * * <strong>example:</strong> * <p>H264.SD</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The transcoding duration. Unit: seconds.</p> * * <strong>example:</strong> * <p>111</p> */ public Builder value(String value) { this.value = value; return this; } public DataItem build() { return new DataItem(this); } } } /** * * {@link DescribeVodTranscodeDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodTranscodeDataResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("DataItem") private java.util.List<DataItem> dataItem; private Data(Builder builder) { this.dataItem = builder.dataItem; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return dataItem */ public java.util.List<DataItem> getDataItem() { return this.dataItem; } public static final class Builder { private java.util.List<DataItem> dataItem; private Builder() { } private Builder(Data model) { this.dataItem = model.dataItem; } /** * DataItem. */ public Builder dataItem(java.util.List<DataItem> dataItem) { this.dataItem = dataItem; return this; } public Data build() { return new Data(this); } } } /** * * {@link DescribeVodTranscodeDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodTranscodeDataResponseBody</p> */ public static class TranscodeDataItem extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("TimeStamp") private String timeStamp; private TranscodeDataItem(Builder builder) { this.data = builder.data; this.timeStamp = builder.timeStamp; } public static Builder builder() { return new Builder(); } public static TranscodeDataItem create() { return builder().build(); } /** * @return data */ public Data getData() { return this.data; } /** * @return timeStamp */ public String getTimeStamp() { return this.timeStamp; } public static final class Builder { private Data data; private String timeStamp; private Builder() { } private Builder(TranscodeDataItem model) { this.data = model.data; this.timeStamp = model.timeStamp; } /** * <p>The statistics on transcoding of different specifications.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The timestamp of the returned data. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2019-02-01T16:00:00Z</p> */ public Builder timeStamp(String timeStamp) { this.timeStamp = timeStamp; return this; } public TranscodeDataItem build() { return new TranscodeDataItem(this); } } } /** * * {@link DescribeVodTranscodeDataResponseBody} extends {@link TeaModel} * * <p>DescribeVodTranscodeDataResponseBody</p> */ public static class TranscodeData extends TeaModel { @com.aliyun.core.annotation.NameInMap("TranscodeDataItem") private java.util.List<TranscodeDataItem> transcodeDataItem; private TranscodeData(Builder builder) { this.transcodeDataItem = builder.transcodeDataItem; } public static Builder builder() { return new Builder(); } public static TranscodeData create() { return builder().build(); } /** * @return transcodeDataItem */ public java.util.List<TranscodeDataItem> getTranscodeDataItem() { return this.transcodeDataItem; } public static final class Builder { private java.util.List<TranscodeDataItem> transcodeDataItem; private Builder() { } private Builder(TranscodeData model) { this.transcodeDataItem = model.transcodeDataItem; } /** * TranscodeDataItem. */ public Builder transcodeDataItem(java.util.List<TranscodeDataItem> transcodeDataItem) { this.transcodeDataItem = transcodeDataItem; return this; } public TranscodeData build() { return new TranscodeData(this); } } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodUserDomainsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodUserDomainsRequest} extends {@link RequestModel} * * <p>DescribeVodUserDomainsRequest</p> */ public class DescribeVodUserDomainsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DomainName") private String domainName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DomainSearchType") private String domainSearchType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DomainStatus") private String domainStatus; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") @com.aliyun.core.annotation.Validation(maximum = 500, minimum = 1) private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecurityToken") private String securityToken; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Tag") private java.util.List<Tag> tag; private DescribeVodUserDomainsRequest(Builder builder) { super(builder); this.domainName = builder.domainName; this.domainSearchType = builder.domainSearchType; this.domainStatus = builder.domainStatus; this.ownerId = builder.ownerId; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.securityToken = builder.securityToken; this.tag = builder.tag; } public static Builder builder() { return new Builder(); } public static DescribeVodUserDomainsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return domainName */ public String getDomainName() { return this.domainName; } /** * @return domainSearchType */ public String getDomainSearchType() { return this.domainSearchType; } /** * @return domainStatus */ public String getDomainStatus() { return this.domainStatus; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } /** * @return tag */ public java.util.List<Tag> getTag() { return this.tag; } public static final class Builder extends Request.Builder<DescribeVodUserDomainsRequest, Builder> { private String domainName; private String domainSearchType; private String domainStatus; private Long ownerId; private Integer pageNumber; private Integer pageSize; private String securityToken; private java.util.List<Tag> tag; private Builder() { super(); } private Builder(DescribeVodUserDomainsRequest request) { super(request); this.domainName = request.domainName; this.domainSearchType = request.domainSearchType; this.domainStatus = request.domainStatus; this.ownerId = request.ownerId; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.securityToken = request.securityToken; this.tag = request.tag; } /** * <p>The domain name. The value of this parameter is used as a filter condition for a fuzzy match.</p> * * <strong>example:</strong> * <p>example.aliyundoc.com</p> */ public Builder domainName(String domainName) { this.putQueryParameter("DomainName", domainName); this.domainName = domainName; return this; } /** * <p>The search method. Valid values:</p> * <ul> * <li><strong>fuzzy_match</strong> (default): fuzzy match.</li> * <li><strong>pre_match</strong>: prefix match</li> * <li><strong>suf_match</strong>: suffix match</li> * <li><strong>full_match</strong>: exact match</li> * </ul> * * <strong>example:</strong> * <p>fuzzy_match</p> */ public Builder domainSearchType(String domainSearchType) { this.putQueryParameter("DomainSearchType", domainSearchType); this.domainSearchType = domainSearchType; return this; } /** * <p>The status of the domain name. Value values:</p> * <ul> * <li><strong>online</strong>: indicates that the domain name is enabled.</li> * <li><strong>offline</strong>: indicates that the domain name is disabled.</li> * <li><strong>configuring</strong>: indicates that the domain name is being configured.</li> * <li><strong>configure_failed</strong>: indicates that the domain name failed to be configured.</li> * <li><strong>checking</strong>: indicates that the domain name is under review.</li> * <li><strong>check_failed</strong>: indicates that the domain name failed the review.</li> * </ul> * * <strong>example:</strong> * <p>online</p> */ public Builder domainStatus(String domainStatus) { this.putQueryParameter("DomainStatus", domainStatus); this.domainStatus = domainStatus; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * <p>The page number.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Integer pageNumber) { this.putQueryParameter("PageNumber", pageNumber); this.pageNumber = pageNumber; return this; } /** * <p>The number of entries per page. Default value: <strong>20</strong>. Maximum value: <strong>50</strong>. Valid values: <strong>1</strong> to <strong>50</strong>.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } /** * <p>The tags.</p> */ public Builder tag(java.util.List<Tag> tag) { this.putQueryParameter("Tag", tag); this.tag = tag; return this; } @Override public DescribeVodUserDomainsRequest build() { return new DescribeVodUserDomainsRequest(this); } } /** * * {@link DescribeVodUserDomainsRequest} extends {@link TeaModel} * * <p>DescribeVodUserDomainsRequest</p> */ public static class Tag extends TeaModel { @com.aliyun.core.annotation.NameInMap("Key") private String key; @com.aliyun.core.annotation.NameInMap("Value") private String value; private Tag(Builder builder) { this.key = builder.key; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static Tag create() { return builder().build(); } /** * @return key */ public String getKey() { return this.key; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String key; private String value; private Builder() { } private Builder(Tag model) { this.key = model.key; this.value = model.value; } /** * <p>The key of tag N. Valid values of N: <strong>1</strong> to <strong>20</strong>.</p> * <p>By default, all tag keys are queried.</p> * * <strong>example:</strong> * <p>key</p> */ public Builder key(String key) { this.key = key; return this; } /** * <p>The value of tag N. Valid values of N: <strong>1</strong> to <strong>20</strong>.</p> * <p>By default, all tag values are queried.</p> * * <strong>example:</strong> * <p>value</p> */ public Builder value(String value) { this.value = value; return this; } public Tag build() { return new Tag(this); } } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodUserDomainsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodUserDomainsResponse} extends {@link TeaModel} * * <p>DescribeVodUserDomainsResponse</p> */ public class DescribeVodUserDomainsResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeVodUserDomainsResponseBody body; private DescribeVodUserDomainsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVodUserDomainsResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeVodUserDomainsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVodUserDomainsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVodUserDomainsResponseBody body); @Override DescribeVodUserDomainsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVodUserDomainsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVodUserDomainsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVodUserDomainsResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeVodUserDomainsResponseBody body) { this.body = body; return this; } @Override public DescribeVodUserDomainsResponse build() { return new DescribeVodUserDomainsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodUserDomainsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodUserDomainsResponseBody} extends {@link TeaModel} * * <p>DescribeVodUserDomainsResponseBody</p> */ public class DescribeVodUserDomainsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Domains") private Domains domains; @com.aliyun.core.annotation.NameInMap("PageNumber") private Long pageNumber; @com.aliyun.core.annotation.NameInMap("PageSize") private Long pageSize; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Long totalCount; private DescribeVodUserDomainsResponseBody(Builder builder) { this.domains = builder.domains; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeVodUserDomainsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return domains */ public Domains getDomains() { return this.domains; } /** * @return pageNumber */ public Long getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Long getPageSize() { return this.pageSize; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Long getTotalCount() { return this.totalCount; } public static final class Builder { private Domains domains; private Long pageNumber; private Long pageSize; private String requestId; private Long totalCount; private Builder() { } private Builder(DescribeVodUserDomainsResponseBody model) { this.domains = model.domains; this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>The detailed information about each domain name for CDN. The returned information is displayed in the format that is specified by the PageData parameter.</p> */ public Builder domains(Domains domains) { this.domains = domains; return this; } /** * <p>The page number.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Long pageNumber) { this.pageNumber = pageNumber; return this; } /** * <p>The number of entries per page.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder pageSize(Long pageSize) { this.pageSize = pageSize; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>E4EBD2BF-5EB0-4476-****-9D94E1B15267</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of entries.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder totalCount(Long totalCount) { this.totalCount = totalCount; return this; } public DescribeVodUserDomainsResponseBody build() { return new DescribeVodUserDomainsResponseBody(this); } } /** * * {@link DescribeVodUserDomainsResponseBody} extends {@link TeaModel} * * <p>DescribeVodUserDomainsResponseBody</p> */ public static class Source extends TeaModel { @com.aliyun.core.annotation.NameInMap("Content") private String content; @com.aliyun.core.annotation.NameInMap("Port") private Integer port; @com.aliyun.core.annotation.NameInMap("Priority") private String priority; @com.aliyun.core.annotation.NameInMap("Type") private String type; private Source(Builder builder) { this.content = builder.content; this.port = builder.port; this.priority = builder.priority; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static Source create() { return builder().build(); } /** * @return content */ public String getContent() { return this.content; } /** * @return port */ public Integer getPort() { return this.port; } /** * @return priority */ public String getPriority() { return this.priority; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private String content; private Integer port; private String priority; private String type; private Builder() { } private Builder(Source model) { this.content = model.content; this.port = model.port; this.priority = model.priority; this.type = model.type; } /** * <p>The address of the origin server.</p> * * <strong>example:</strong> * <p>192.168.0.1</p> */ public Builder content(String content) { this.content = content; return this; } /** * <p>The port number. Valid values: <strong>443</strong> and <strong>80</strong>.</p> * * <strong>example:</strong> * <p>80</p> */ public Builder port(Integer port) { this.port = port; return this; } /** * <p>The priority of the origin server.</p> * * <strong>example:</strong> * <p>5</p> */ public Builder priority(String priority) { this.priority = priority; return this; } /** * <p>The type of the origin server. Valid values:</p> * <ul> * <li><strong>ipaddr</strong>: an IP address.</li> * <li><strong>domain</strong>: an origin domain name</li> * <li><strong>oss</strong>: the OSS domain of an Object Storage Service (OSS) bucket</li> * </ul> * * <strong>example:</strong> * <p>oss</p> */ public Builder type(String type) { this.type = type; return this; } public Source build() { return new Source(this); } } } /** * * {@link DescribeVodUserDomainsResponseBody} extends {@link TeaModel} * * <p>DescribeVodUserDomainsResponseBody</p> */ public static class Sources extends TeaModel { @com.aliyun.core.annotation.NameInMap("Source") private java.util.List<Source> source; private Sources(Builder builder) { this.source = builder.source; } public static Builder builder() { return new Builder(); } public static Sources create() { return builder().build(); } /** * @return source */ public java.util.List<Source> getSource() { return this.source; } public static final class Builder { private java.util.List<Source> source; private Builder() { } private Builder(Sources model) { this.source = model.source; } /** * Source. */ public Builder source(java.util.List<Source> source) { this.source = source; return this; } public Sources build() { return new Sources(this); } } } /** * * {@link DescribeVodUserDomainsResponseBody} extends {@link TeaModel} * * <p>DescribeVodUserDomainsResponseBody</p> */ public static class PageData extends TeaModel { @com.aliyun.core.annotation.NameInMap("Cname") private String cname; @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("DomainName") private String domainName; @com.aliyun.core.annotation.NameInMap("DomainStatus") private String domainStatus; @com.aliyun.core.annotation.NameInMap("GmtCreated") private String gmtCreated; @com.aliyun.core.annotation.NameInMap("GmtModified") private String gmtModified; @com.aliyun.core.annotation.NameInMap("Sandbox") private String sandbox; @com.aliyun.core.annotation.NameInMap("Sources") private Sources sources; @com.aliyun.core.annotation.NameInMap("SslProtocol") private String sslProtocol; private PageData(Builder builder) { this.cname = builder.cname; this.description = builder.description; this.domainName = builder.domainName; this.domainStatus = builder.domainStatus; this.gmtCreated = builder.gmtCreated; this.gmtModified = builder.gmtModified; this.sandbox = builder.sandbox; this.sources = builder.sources; this.sslProtocol = builder.sslProtocol; } public static Builder builder() { return new Builder(); } public static PageData create() { return builder().build(); } /** * @return cname */ public String getCname() { return this.cname; } /** * @return description */ public String getDescription() { return this.description; } /** * @return domainName */ public String getDomainName() { return this.domainName; } /** * @return domainStatus */ public String getDomainStatus() { return this.domainStatus; } /** * @return gmtCreated */ public String getGmtCreated() { return this.gmtCreated; } /** * @return gmtModified */ public String getGmtModified() { return this.gmtModified; } /** * @return sandbox */ public String getSandbox() { return this.sandbox; } /** * @return sources */ public Sources getSources() { return this.sources; } /** * @return sslProtocol */ public String getSslProtocol() { return this.sslProtocol; } public static final class Builder { private String cname; private String description; private String domainName; private String domainStatus; private String gmtCreated; private String gmtModified; private String sandbox; private Sources sources; private String sslProtocol; private Builder() { } private Builder(PageData model) { this.cname = model.cname; this.description = model.description; this.domainName = model.domainName; this.domainStatus = model.domainStatus; this.gmtCreated = model.gmtCreated; this.gmtModified = model.gmtModified; this.sandbox = model.sandbox; this.sources = model.sources; this.sslProtocol = model.sslProtocol; } /** * <p>The CNAME that is assigned to the domain name for CDN.</p> * * <strong>example:</strong> * <p>learn.developer.aliyundoc.com</p> */ public Builder cname(String cname) { this.cname = cname; return this; } /** * <p>The remarks.</p> * * <strong>example:</strong> * <p>Zhejiang ICP Filing No. ****</p> */ public Builder description(String description) { this.description = description; return this; } /** * <p>The domain name for CDN.</p> * * <strong>example:</strong> * <p>example.aliyundoc.com</p> */ public Builder domainName(String domainName) { this.domainName = domainName; return this; } /** * <p>The status of the domain name for CDN. Valid values:</p> * <ul> * <li><strong>online</strong>: indicates that the domain name is enabled.</li> * <li><strong>offline</strong>: indicates that the domain name is disabled.</li> * <li><strong>configuring</strong>: indicates that the domain name is being configured.</li> * <li><strong>configure_failed</strong>: indicates that the domain name failed to be configured.</li> * <li><strong>checking</strong>: indicates that the domain name is under review.</li> * <li><strong>check_failed</strong>: indicates that the domain name failed the review.</li> * </ul> * * <strong>example:</strong> * <p>online</p> */ public Builder domainStatus(String domainStatus) { this.domainStatus = domainStatus; return this; } /** * <p>The time when the domain name for CDN was added. The time is in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2017-08-29T08:40:53Z</p> */ public Builder gmtCreated(String gmtCreated) { this.gmtCreated = gmtCreated; return this; } /** * <p>The last time when the domain name for CDN was modified. The time is in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2017-12-29T09:24:12Z</p> */ public Builder gmtModified(String gmtModified) { this.gmtModified = gmtModified; return this; } /** * <p>Indicates whether the accelerated domain name was in a sandbox.</p> * * <strong>example:</strong> * <p>normal</p> */ public Builder sandbox(String sandbox) { this.sandbox = sandbox; return this; } /** * <p>The information about the origin server.</p> */ public Builder sources(Sources sources) { this.sources = sources; return this; } /** * <p>Indicates whether HTTPS is enabled.</p> * <ul> * <li><strong>on</strong>: HTTPS is enabled.</li> * <li><strong>off</strong>: HTTPS is not eabled.</li> * </ul> * * <strong>example:</strong> * <p>on</p> */ public Builder sslProtocol(String sslProtocol) { this.sslProtocol = sslProtocol; return this; } public PageData build() { return new PageData(this); } } } /** * * {@link DescribeVodUserDomainsResponseBody} extends {@link TeaModel} * * <p>DescribeVodUserDomainsResponseBody</p> */ public static class Domains extends TeaModel { @com.aliyun.core.annotation.NameInMap("PageData") private java.util.List<PageData> pageData; private Domains(Builder builder) { this.pageData = builder.pageData; } public static Builder builder() { return new Builder(); } public static Domains create() { return builder().build(); } /** * @return pageData */ public java.util.List<PageData> getPageData() { return this.pageData; } public static final class Builder { private java.util.List<PageData> pageData; private Builder() { } private Builder(Domains model) { this.pageData = model.pageData; } /** * PageData. */ public Builder pageData(java.util.List<PageData> pageData) { this.pageData = pageData; return this; } public Domains build() { return new Domains(this); } } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodVerifyContentRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodVerifyContentRequest} extends {@link RequestModel} * * <p>DescribeVodVerifyContentRequest</p> */ public class DescribeVodVerifyContentRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DomainName") @com.aliyun.core.annotation.Validation(required = true) private String domainName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; private DescribeVodVerifyContentRequest(Builder builder) { super(builder); this.domainName = builder.domainName; this.ownerId = builder.ownerId; } public static Builder builder() { return new Builder(); } public static DescribeVodVerifyContentRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return domainName */ public String getDomainName() { return this.domainName; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } public static final class Builder extends Request.Builder<DescribeVodVerifyContentRequest, Builder> { private String domainName; private Long ownerId; private Builder() { super(); } private Builder(DescribeVodVerifyContentRequest request) { super(request); this.domainName = request.domainName; this.ownerId = request.ownerId; } /** * <p>The domain name for which you want to verify the ownership. You can specify only one domain name in each call.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>example.com</p> */ public Builder domainName(String domainName) { this.putQueryParameter("DomainName", domainName); this.domainName = domainName; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } @Override public DescribeVodVerifyContentRequest build() { return new DescribeVodVerifyContentRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodVerifyContentResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodVerifyContentResponse} extends {@link TeaModel} * * <p>DescribeVodVerifyContentResponse</p> */ public class DescribeVodVerifyContentResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeVodVerifyContentResponseBody body; private DescribeVodVerifyContentResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeVodVerifyContentResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeVodVerifyContentResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeVodVerifyContentResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeVodVerifyContentResponseBody body); @Override DescribeVodVerifyContentResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeVodVerifyContentResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeVodVerifyContentResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeVodVerifyContentResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeVodVerifyContentResponseBody body) { this.body = body; return this; } @Override public DescribeVodVerifyContentResponse build() { return new DescribeVodVerifyContentResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DescribeVodVerifyContentResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DescribeVodVerifyContentResponseBody} extends {@link TeaModel} * * <p>DescribeVodVerifyContentResponseBody</p> */ public class DescribeVodVerifyContentResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Content") private String content; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeVodVerifyContentResponseBody(Builder builder) { this.content = builder.content; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeVodVerifyContentResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return content */ public String getContent() { return this.content; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String content; private String requestId; private Builder() { } private Builder(DescribeVodVerifyContentResponseBody model) { this.content = model.content; this.requestId = model.requestId; } /** * <p>The verification content.</p> * * <strong>example:</strong> * <p>verify_dffeb661*****3a59c31cd91f</p> */ public Builder content(String content) { this.content = content; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>34AB41F1-04A5-4688-634BDBE6****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeVodVerifyContentResponseBody build() { return new DescribeVodVerifyContentResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DetachAppPolicyFromIdentityRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DetachAppPolicyFromIdentityRequest} extends {@link RequestModel} * * <p>DetachAppPolicyFromIdentityRequest</p> */ public class DetachAppPolicyFromIdentityRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppId") private String appId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("IdentityName") @com.aliyun.core.annotation.Validation(required = true) private String identityName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("IdentityType") @com.aliyun.core.annotation.Validation(required = true) private String identityType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PolicyNames") @com.aliyun.core.annotation.Validation(required = true) private String policyNames; private DetachAppPolicyFromIdentityRequest(Builder builder) { super(builder); this.appId = builder.appId; this.identityName = builder.identityName; this.identityType = builder.identityType; this.policyNames = builder.policyNames; } public static Builder builder() { return new Builder(); } public static DetachAppPolicyFromIdentityRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return identityName */ public String getIdentityName() { return this.identityName; } /** * @return identityType */ public String getIdentityType() { return this.identityType; } /** * @return policyNames */ public String getPolicyNames() { return this.policyNames; } public static final class Builder extends Request.Builder<DetachAppPolicyFromIdentityRequest, Builder> { private String appId; private String identityName; private String identityType; private String policyNames; private Builder() { super(); } private Builder(DetachAppPolicyFromIdentityRequest request) { super(request); this.appId = request.appId; this.identityName = request.identityName; this.identityType = request.identityType; this.policyNames = request.policyNames; } /** * <p>The ID of the application. This parameter is optional if you set PolicyNames to VODAppAdministratorAccess. This parameter is required if you set PolicyNames to a value other than VODAppAdministratorAccess.</p> * <ul> * <li>Default value: <strong>app-1000000</strong>.</li> * <li>For more information, see <a href="https://help.aliyun.com/document_detail/113600.html">Overview</a>.</li> * </ul> * * <strong>example:</strong> * <p>app-****</p> */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * <p>The ID of the RAM user or the name of the RAM role.</p> * <ul> * <li>Specifies the ID of the RAM user for this parameter if you set IdentityType to RamUser.</li> * <li>Specifies the name of the RAM role for this parameter if you set IdentityType to RamRole.</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>test****name</p> */ public Builder identityName(String identityName) { this.putQueryParameter("IdentityName", identityName); this.identityName = identityName; return this; } /** * <p>The type of the identity. Valid values:</p> * <ul> * <li><strong>RamUser</strong>: RAM user</li> * <li><strong>RamRole</strong>: RAM role</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>RamUser</p> */ public Builder identityType(String identityType) { this.putQueryParameter("IdentityType", identityType); this.identityType = identityType; return this; } /** * <p>The name of the policy. Separate multiple names with commas (,). Only system policies are supported.</p> * <ul> * <li><strong>VODAppFullAccess</strong>: permissions to manage all resources in an application</li> * <li><strong>VODAppReadOnlyAccess</strong>: permissions to read all resources in an application</li> * <li><strong>VODAppAdministratorAccess</strong>: permissions of the application administrator</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>VODAppFullAccess</p> */ public Builder policyNames(String policyNames) { this.putQueryParameter("PolicyNames", policyNames); this.policyNames = policyNames; return this; } @Override public DetachAppPolicyFromIdentityRequest build() { return new DetachAppPolicyFromIdentityRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DetachAppPolicyFromIdentityResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DetachAppPolicyFromIdentityResponse} extends {@link TeaModel} * * <p>DetachAppPolicyFromIdentityResponse</p> */ public class DetachAppPolicyFromIdentityResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DetachAppPolicyFromIdentityResponseBody body; private DetachAppPolicyFromIdentityResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DetachAppPolicyFromIdentityResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DetachAppPolicyFromIdentityResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DetachAppPolicyFromIdentityResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DetachAppPolicyFromIdentityResponseBody body); @Override DetachAppPolicyFromIdentityResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DetachAppPolicyFromIdentityResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DetachAppPolicyFromIdentityResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DetachAppPolicyFromIdentityResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DetachAppPolicyFromIdentityResponseBody body) { this.body = body; return this; } @Override public DetachAppPolicyFromIdentityResponse build() { return new DetachAppPolicyFromIdentityResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/DetachAppPolicyFromIdentityResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 DetachAppPolicyFromIdentityResponseBody} extends {@link TeaModel} * * <p>DetachAppPolicyFromIdentityResponseBody</p> */ public class DetachAppPolicyFromIdentityResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("FailedPolicyNames") private java.util.List<String> failedPolicyNames; @com.aliyun.core.annotation.NameInMap("NonExistPolicyNames") private java.util.List<String> nonExistPolicyNames; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DetachAppPolicyFromIdentityResponseBody(Builder builder) { this.failedPolicyNames = builder.failedPolicyNames; this.nonExistPolicyNames = builder.nonExistPolicyNames; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DetachAppPolicyFromIdentityResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return failedPolicyNames */ public java.util.List<String> getFailedPolicyNames() { return this.failedPolicyNames; } /** * @return nonExistPolicyNames */ public java.util.List<String> getNonExistPolicyNames() { return this.nonExistPolicyNames; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<String> failedPolicyNames; private java.util.List<String> nonExistPolicyNames; private String requestId; private Builder() { } private Builder(DetachAppPolicyFromIdentityResponseBody model) { this.failedPolicyNames = model.failedPolicyNames; this.nonExistPolicyNames = model.nonExistPolicyNames; this.requestId = model.requestId; } /** * <p>The names of the policies that failed to be granted to the RAM user or RAM role.</p> */ public Builder failedPolicyNames(java.util.List<String> failedPolicyNames) { this.failedPolicyNames = failedPolicyNames; return this; } /** * <p>The name of the policy that was not found.</p> */ public Builder nonExistPolicyNames(java.util.List<String> nonExistPolicyNames) { this.nonExistPolicyNames = nonExistPolicyNames; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>25818875-5F78-4A13-****-D7393642C</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DetachAppPolicyFromIdentityResponseBody build() { return new DetachAppPolicyFromIdentityResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/GenerateDownloadSecretKeyRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 GenerateDownloadSecretKeyRequest} extends {@link RequestModel} * * <p>GenerateDownloadSecretKeyRequest</p> */ public class GenerateDownloadSecretKeyRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppDecryptKey") @com.aliyun.core.annotation.Validation(required = true) private String appDecryptKey; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AppIdentification") @com.aliyun.core.annotation.Validation(required = true) private String appIdentification; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount") private String resourceOwnerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerId") private Long resourceOwnerId; private GenerateDownloadSecretKeyRequest(Builder builder) { super(builder); this.appDecryptKey = builder.appDecryptKey; this.appIdentification = builder.appIdentification; this.ownerId = builder.ownerId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; } public static Builder builder() { return new Builder(); } public static GenerateDownloadSecretKeyRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appDecryptKey */ public String getAppDecryptKey() { return this.appDecryptKey; } /** * @return appIdentification */ public String getAppIdentification() { return this.appIdentification; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return resourceOwnerAccount */ public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } public static final class Builder extends Request.Builder<GenerateDownloadSecretKeyRequest, Builder> { private String appDecryptKey; private String appIdentification; private Long ownerId; private String resourceOwnerAccount; private Long resourceOwnerId; private Builder() { super(); } private Builder(GenerateDownloadSecretKeyRequest request) { super(request); this.appDecryptKey = request.appDecryptKey; this.appIdentification = request.appIdentification; this.ownerId = request.ownerId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; } /** * <p>A custom string of 16 to 32 characters in length. The string must contain uppercase letters, lowercase letters, and digits.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>AppDecryptKeyAndroid20230101</p> */ public Builder appDecryptKey(String appDecryptKey) { this.putQueryParameter("AppDecryptKey", appDecryptKey); this.appDecryptKey = appDecryptKey; return this; } /** * <p>The unique identifier of the app.</p> * <ul> * <li>Android: the SHA-1 fingerprint of the keystore. The value is a string that contains a colon (:).</li> * <li>iOS: the bundle ID of the app.</li> * <li>Windows: the serial number in the digital signature certificate.</li> * </ul> * <p>For more information about how to obtain the unique identifier of an app, see <a href="~~86107#section-wtj-9d7-lg2~~">Obtain the unique app identifier</a>.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>BB:0D:AC:74:D3:21:09:EF:9C:71:1A:5E:77:2C:8E:BF:03:FD:FA:5A</p> */ public Builder appIdentification(String appIdentification) { this.putQueryParameter("AppIdentification", appIdentification); this.appIdentification = appIdentification; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * ResourceOwnerAccount. */ public Builder resourceOwnerAccount(String resourceOwnerAccount) { this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); this.resourceOwnerAccount = resourceOwnerAccount; return this; } /** * ResourceOwnerId. */ public Builder resourceOwnerId(Long resourceOwnerId) { this.putQueryParameter("ResourceOwnerId", resourceOwnerId); this.resourceOwnerId = resourceOwnerId; return this; } @Override public GenerateDownloadSecretKeyRequest build() { return new GenerateDownloadSecretKeyRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/GenerateDownloadSecretKeyResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 GenerateDownloadSecretKeyResponse} extends {@link TeaModel} * * <p>GenerateDownloadSecretKeyResponse</p> */ public class GenerateDownloadSecretKeyResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private GenerateDownloadSecretKeyResponseBody body; private GenerateDownloadSecretKeyResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GenerateDownloadSecretKeyResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public GenerateDownloadSecretKeyResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GenerateDownloadSecretKeyResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GenerateDownloadSecretKeyResponseBody body); @Override GenerateDownloadSecretKeyResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GenerateDownloadSecretKeyResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GenerateDownloadSecretKeyResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GenerateDownloadSecretKeyResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(GenerateDownloadSecretKeyResponseBody body) { this.body = body; return this; } @Override public GenerateDownloadSecretKeyResponse build() { return new GenerateDownloadSecretKeyResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/GenerateDownloadSecretKeyResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 GenerateDownloadSecretKeyResponseBody} extends {@link TeaModel} * * <p>GenerateDownloadSecretKeyResponseBody</p> */ public class GenerateDownloadSecretKeyResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("AppEncryptKey") private String appEncryptKey; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private GenerateDownloadSecretKeyResponseBody(Builder builder) { this.appEncryptKey = builder.appEncryptKey; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static GenerateDownloadSecretKeyResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return appEncryptKey */ public String getAppEncryptKey() { return this.appEncryptKey; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String appEncryptKey; private String requestId; private Builder() { } private Builder(GenerateDownloadSecretKeyResponseBody model) { this.appEncryptKey = model.appEncryptKey; this.requestId = model.requestId; } /** * <p>The key file for secure download.</p> * * <strong>example:</strong> * <hr> */ public Builder appEncryptKey(String appEncryptKey) { this.appEncryptKey = appEncryptKey; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>E99B9BAD-7F9D-552B-A689-B72E92EA040E</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public GenerateDownloadSecretKeyResponseBody build() { return new GenerateDownloadSecretKeyResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/GenerateKMSDataKeyRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 GenerateKMSDataKeyRequest} extends {@link RequestModel} * * <p>GenerateKMSDataKeyRequest</p> */ public class GenerateKMSDataKeyRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerAccount") private String ownerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private String ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount") private String resourceOwnerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerId") private String resourceOwnerId; private GenerateKMSDataKeyRequest(Builder builder) { super(builder); this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; } public static Builder builder() { return new Builder(); } public static GenerateKMSDataKeyRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return ownerAccount */ public String getOwnerAccount() { return this.ownerAccount; } /** * @return ownerId */ public String getOwnerId() { return this.ownerId; } /** * @return resourceOwnerAccount */ public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } /** * @return resourceOwnerId */ public String getResourceOwnerId() { return this.resourceOwnerId; } public static final class Builder extends Request.Builder<GenerateKMSDataKeyRequest, Builder> { private String ownerAccount; private String ownerId; private String resourceOwnerAccount; private String resourceOwnerId; private Builder() { super(); } private Builder(GenerateKMSDataKeyRequest request) { super(request); this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; } /** * OwnerAccount. */ public Builder ownerAccount(String ownerAccount) { this.putQueryParameter("OwnerAccount", ownerAccount); this.ownerAccount = ownerAccount; return this; } /** * OwnerId. */ public Builder ownerId(String ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * ResourceOwnerAccount. */ public Builder resourceOwnerAccount(String resourceOwnerAccount) { this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); this.resourceOwnerAccount = resourceOwnerAccount; return this; } /** * ResourceOwnerId. */ public Builder resourceOwnerId(String resourceOwnerId) { this.putQueryParameter("ResourceOwnerId", resourceOwnerId); this.resourceOwnerId = resourceOwnerId; return this; } @Override public GenerateKMSDataKeyRequest build() { return new GenerateKMSDataKeyRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/GenerateKMSDataKeyResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 GenerateKMSDataKeyResponse} extends {@link TeaModel} * * <p>GenerateKMSDataKeyResponse</p> */ public class GenerateKMSDataKeyResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private GenerateKMSDataKeyResponseBody body; private GenerateKMSDataKeyResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GenerateKMSDataKeyResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public GenerateKMSDataKeyResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GenerateKMSDataKeyResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(GenerateKMSDataKeyResponseBody body); @Override GenerateKMSDataKeyResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GenerateKMSDataKeyResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private GenerateKMSDataKeyResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GenerateKMSDataKeyResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(GenerateKMSDataKeyResponseBody body) { this.body = body; return this; } @Override public GenerateKMSDataKeyResponse build() { return new GenerateKMSDataKeyResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/GenerateKMSDataKeyResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 GenerateKMSDataKeyResponseBody} extends {@link TeaModel} * * <p>GenerateKMSDataKeyResponseBody</p> */ public class GenerateKMSDataKeyResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("CiphertextBlob") private String ciphertextBlob; @com.aliyun.core.annotation.NameInMap("KeyId") private String keyId; @com.aliyun.core.annotation.NameInMap("Plaintext") private String plaintext; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private GenerateKMSDataKeyResponseBody(Builder builder) { this.ciphertextBlob = builder.ciphertextBlob; this.keyId = builder.keyId; this.plaintext = builder.plaintext; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static GenerateKMSDataKeyResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return ciphertextBlob */ public String getCiphertextBlob() { return this.ciphertextBlob; } /** * @return keyId */ public String getKeyId() { return this.keyId; } /** * @return plaintext */ public String getPlaintext() { return this.plaintext; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String ciphertextBlob; private String keyId; private String plaintext; private String requestId; private Builder() { } private Builder(GenerateKMSDataKeyResponseBody model) { this.ciphertextBlob = model.ciphertextBlob; this.keyId = model.keyId; this.plaintext = model.plaintext; this.requestId = model.requestId; } /** * <p>The ciphertext of the encrypted data key. This is used as CipherText when you create a transcoding job.</p> * * <strong>example:</strong> * <p>ODZhOWVmZDktM2QxNi00ODk0LWJkNGYtMWZjNDNmM2YyYWJmS7FmDBBQ0BkKsQrtRnidtPwirmDcS0ZuJCU41xxAAWk4Z8qsADfbV0b+i6kQmlvj79dJdGOvtX69Uycs901qOjop4bTS****</p> */ public Builder ciphertextBlob(String ciphertextBlob) { this.ciphertextBlob = ciphertextBlob; return this; } /** * <p>The ID of the customer master key (CMK). The ID must be globally unique.</p> * * <strong>example:</strong> * <p>7906979c-8e06-46a2-be2d-68e3ccbc****</p> */ public Builder keyId(String keyId) { this.keyId = keyId; return this; } /** * <p>The Base64-encoded plaintext of the data key.</p> * * <strong>example:</strong> * <p>QmFzZTY0IGVuY29kZWQgcGxhaW50****</p> */ public Builder plaintext(String plaintext) { this.plaintext = plaintext; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>25818875-5F78-4A*****F6-D7393642CA58</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public GenerateKMSDataKeyResponseBody build() { return new GenerateKMSDataKeyResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321
java-sources/com/aliyun/alibabacloud-vod20170321/2.0.18/com/aliyun/sdk/service/vod20170321/models/GetAIImageJobsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.vod20170321.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 GetAIImageJobsRequest} extends {@link RequestModel} * * <p>GetAIImageJobsRequest</p> */ public class GetAIImageJobsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("JobIds") @com.aliyun.core.annotation.Validation(required = true) private String jobIds; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerAccount") private String ownerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private String ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount") private String resourceOwnerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerId") private String resourceOwnerId; private GetAIImageJobsRequest(Builder builder) { super(builder); this.jobIds = builder.jobIds; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; } public static Builder builder() { return new Builder(); } public static GetAIImageJobsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return jobIds */ public String getJobIds() { return this.jobIds; } /** * @return ownerAccount */ public String getOwnerAccount() { return this.ownerAccount; } /** * @return ownerId */ public String getOwnerId() { return this.ownerId; } /** * @return resourceOwnerAccount */ public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } /** * @return resourceOwnerId */ public String getResourceOwnerId() { return this.resourceOwnerId; } public static final class Builder extends Request.Builder<GetAIImageJobsRequest, Builder> { private String jobIds; private String ownerAccount; private String ownerId; private String resourceOwnerAccount; private String resourceOwnerId; private Builder() { super(); } private Builder(GetAIImageJobsRequest request) { super(request); this.jobIds = request.jobIds; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; } /** * <p>The ID of the image AI processing job. You can obtain the value of JobId from the response to the <a href="~~SubmitAIImageJob~~">SubmitAIImageJob</a> operation.</p> * <ul> * <li>You can specify a maximum of 10 IDs.</li> * <li>Separate multiple IDs with commas (,).</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cf08a2c6e11e*****de1711b738b9067</p> */ public Builder jobIds(String jobIds) { this.putQueryParameter("JobIds", jobIds); this.jobIds = jobIds; return this; } /** * OwnerAccount. */ public Builder ownerAccount(String ownerAccount) { this.putQueryParameter("OwnerAccount", ownerAccount); this.ownerAccount = ownerAccount; return this; } /** * OwnerId. */ public Builder ownerId(String ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * ResourceOwnerAccount. */ public Builder resourceOwnerAccount(String resourceOwnerAccount) { this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); this.resourceOwnerAccount = resourceOwnerAccount; return this; } /** * ResourceOwnerId. */ public Builder resourceOwnerId(String resourceOwnerId) { this.putQueryParameter("ResourceOwnerId", resourceOwnerId); this.resourceOwnerId = resourceOwnerId; return this; } @Override public GetAIImageJobsRequest build() { return new GetAIImageJobsRequest(this); } } }