com.aliyun.sdk.service.ens20171110.models.DescribeInstanceBandwidthDetailRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-ens20171110 Show documentation
Show all versions of alibabacloud-ens20171110 Show documentation
Alibaba Cloud Ens (20171110) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ens20171110.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 DescribeInstanceBandwidthDetailRequest} extends {@link RequestModel}
*
* DescribeInstanceBandwidthDetailRequest
*/
public class DescribeInstanceBandwidthDetailRequest extends Request {
@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("EnsRegionId")
private String ensRegionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("InstanceId")
private String instanceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("InstanceType")
private String instanceType;
@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")
private Integer pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ServiceType")
private String serviceType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("StartTime")
@com.aliyun.core.annotation.Validation(required = true)
private String startTime;
private DescribeInstanceBandwidthDetailRequest(Builder builder) {
super(builder);
this.endTime = builder.endTime;
this.ensRegionId = builder.ensRegionId;
this.instanceId = builder.instanceId;
this.instanceType = builder.instanceType;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.serviceType = builder.serviceType;
this.startTime = builder.startTime;
}
public static Builder builder() {
return new Builder();
}
public static DescribeInstanceBandwidthDetailRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return endTime
*/
public String getEndTime() {
return this.endTime;
}
/**
* @return ensRegionId
*/
public String getEnsRegionId() {
return this.ensRegionId;
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return instanceType
*/
public String getInstanceType() {
return this.instanceType;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return serviceType
*/
public String getServiceType() {
return this.serviceType;
}
/**
* @return startTime
*/
public String getStartTime() {
return this.startTime;
}
public static final class Builder extends Request.Builder {
private String endTime;
private String ensRegionId;
private String instanceId;
private String instanceType;
private Integer pageNumber;
private Integer pageSize;
private String serviceType;
private String startTime;
private Builder() {
super();
}
private Builder(DescribeInstanceBandwidthDetailRequest request) {
super(request);
this.endTime = request.endTime;
this.ensRegionId = request.ensRegionId;
this.instanceId = request.instanceId;
this.instanceType = request.instanceType;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.serviceType = request.serviceType;
this.startTime = request.startTime;
}
/**
* This parameter is required.
*
* example:
* 2024-01-11 30:00:00
*/
public Builder endTime(String endTime) {
this.putQueryParameter("EndTime", endTime);
this.endTime = endTime;
return this;
}
/**
* EnsRegionId.
*/
public Builder ensRegionId(String ensRegionId) {
this.putQueryParameter("EnsRegionId", ensRegionId);
this.ensRegionId = ensRegionId;
return this;
}
/**
* InstanceId.
*/
public Builder instanceId(String instanceId) {
this.putQueryParameter("InstanceId", instanceId);
this.instanceId = instanceId;
return this;
}
/**
* InstanceType.
*/
public Builder instanceType(String instanceType) {
this.putQueryParameter("InstanceType", instanceType);
this.instanceType = instanceType;
return this;
}
/**
* PageNumber.
*/
public Builder pageNumber(Integer pageNumber) {
this.putQueryParameter("PageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* ServiceType.
*/
public Builder serviceType(String serviceType) {
this.putQueryParameter("ServiceType", serviceType);
this.serviceType = serviceType;
return this;
}
/**
* This parameter is required.
*
* example:
* 2024-01-11 00:00:00
*/
public Builder startTime(String startTime) {
this.putQueryParameter("StartTime", startTime);
this.startTime = startTime;
return this;
}
@Override
public DescribeInstanceBandwidthDetailRequest build() {
return new DescribeInstanceBandwidthDetailRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy