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

com.aliyun.sdk.service.cloudapi20160714.models.DescribeApiQpsDataRequest Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cloudapi20160714.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 DescribeApiQpsDataRequest} extends {@link RequestModel}
 *
 * 

DescribeApiQpsDataRequest

*/ public class DescribeApiQpsDataRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ApiId") @com.aliyun.core.annotation.Validation(required = true) private String apiId; @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("GroupId") private String groupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecurityToken") private String securityToken; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StageName") private String stageName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") @com.aliyun.core.annotation.Validation(required = true) private String startTime; private DescribeApiQpsDataRequest(Builder builder) { super(builder); this.apiId = builder.apiId; this.endTime = builder.endTime; this.groupId = builder.groupId; this.securityToken = builder.securityToken; this.stageName = builder.stageName; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static DescribeApiQpsDataRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return apiId */ public String getApiId() { return this.apiId; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } /** * @return stageName */ public String getStageName() { return this.stageName; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder extends Request.Builder { private String apiId; private String endTime; private String groupId; private String securityToken; private String stageName; private String startTime; private Builder() { super(); } private Builder(DescribeApiQpsDataRequest request) { super(request); this.apiId = request.apiId; this.endTime = request.endTime; this.groupId = request.groupId; this.securityToken = request.securityToken; this.stageName = request.stageName; this.startTime = request.startTime; } /** *

The ID of the API.

*

This parameter is required.

* * example: *

d6f679aeb3be4b91b3688e887ca1fe16

*/ public Builder apiId(String apiId) { this.putQueryParameter("ApiId", apiId); this.apiId = apiId; return this; } /** *

The end time in UTC. Format: YYYY-MM-DDThh:mm:ssZ

*

This parameter is required.

* * example: *

2016-07-23T09:28:48Z

*/ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** *

The ID of the API group.

* * example: *

63be9002440b4778a61122f14c2b2bbb

*/ public Builder groupId(String groupId) { this.putQueryParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } /** *

The environment. Valid values:

*
    *
  • RELEASE
  • *
  • PRE: the pre-release environment
  • *
  • TEST
  • *
* * example: *

RELEASE

*/ public Builder stageName(String stageName) { this.putQueryParameter("StageName", stageName); this.stageName = stageName; return this; } /** *

The start time in UTC. Format: YYYY-MM-DDThh:mm:ssZ

*

This parameter is required.

* * example: *

2016-07-23T08:28:48Z

*/ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } @Override public DescribeApiQpsDataRequest build() { return new DescribeApiQpsDataRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy