com.aliyun.sdk.service.cloudapi20160714.models.DescribeInstanceDropConnectionsRequest Maven / Gradle / Ivy
Show all versions of alibabacloud-cloudapi20160714 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cloudapi20160714.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeInstanceDropConnectionsRequest} extends {@link RequestModel}
*
* DescribeInstanceDropConnectionsRequest
*/
public class DescribeInstanceDropConnectionsRequest extends Request {
@Query
@NameInMap("EndTime")
@Validation(required = true)
private String endTime;
@Query
@NameInMap("InstanceId")
@Validation(required = true)
private String instanceId;
@Query
@NameInMap("SbcName")
@Validation(required = true)
private String sbcName;
@Query
@NameInMap("SecurityToken")
private String securityToken;
@Query
@NameInMap("StartTime")
@Validation(required = true)
private String startTime;
private DescribeInstanceDropConnectionsRequest(Builder builder) {
super(builder);
this.endTime = builder.endTime;
this.instanceId = builder.instanceId;
this.sbcName = builder.sbcName;
this.securityToken = builder.securityToken;
this.startTime = builder.startTime;
}
public static Builder builder() {
return new Builder();
}
public static DescribeInstanceDropConnectionsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return endTime
*/
public String getEndTime() {
return this.endTime;
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return sbcName
*/
public String getSbcName() {
return this.sbcName;
}
/**
* @return securityToken
*/
public String getSecurityToken() {
return this.securityToken;
}
/**
* @return startTime
*/
public String getStartTime() {
return this.startTime;
}
public static final class Builder extends Request.Builder {
private String endTime;
private String instanceId;
private String sbcName;
private String securityToken;
private String startTime;
private Builder() {
super();
}
private Builder(DescribeInstanceDropConnectionsRequest request) {
super(request);
this.endTime = request.endTime;
this.instanceId = request.instanceId;
this.sbcName = request.sbcName;
this.securityToken = request.securityToken;
this.startTime = request.startTime;
}
/**
* The end time. The time follows the ISO 8601 standard and UTC time is used. Format: YYYY-MM-DDThh:mm:ssZ
*/
public Builder endTime(String endTime) {
this.putQueryParameter("EndTime", endTime);
this.endTime = endTime;
return this;
}
/**
* The ID of the dedicated instance.
*/
public Builder instanceId(String instanceId) {
this.putQueryParameter("InstanceId", instanceId);
this.instanceId = instanceId;
return this;
}
/**
* The statistical metric. Valid values:
*
*
* * Maximum
* * Minimum
* * Average
*/
public Builder sbcName(String sbcName) {
this.putQueryParameter("SbcName", sbcName);
this.sbcName = sbcName;
return this;
}
/**
* SecurityToken.
*/
public Builder securityToken(String securityToken) {
this.putQueryParameter("SecurityToken", securityToken);
this.securityToken = securityToken;
return this;
}
/**
* The start time. The time follows the ISO 8601 standard and UTC time is used. Format: YYYY-MM-DDThh:mm:ssZ
*/
public Builder startTime(String startTime) {
this.putQueryParameter("StartTime", startTime);
this.startTime = startTime;
return this;
}
@Override
public DescribeInstanceDropConnectionsRequest build() {
return new DescribeInstanceDropConnectionsRequest(this);
}
}
}