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

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

There is a newer version: 3.0.23
Show newest version
// 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 DescribeInstanceNewConnectionsRequest} extends {@link RequestModel}
 *
 * 

DescribeInstanceNewConnectionsRequest

*/ public class DescribeInstanceNewConnectionsRequest 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 DescribeInstanceNewConnectionsRequest(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 DescribeInstanceNewConnectionsRequest 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(DescribeInstanceNewConnectionsRequest 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 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 DescribeInstanceNewConnectionsRequest build() { return new DescribeInstanceNewConnectionsRequest(this); } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy