
com.aliyun.sdk.service.hbase20170115.models.DescribeSubscriptionPerformanceRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.hbase20170115.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeSubscriptionPerformanceRequest} extends {@link RequestModel}
*
* DescribeSubscriptionPerformanceRequest
*/
public class DescribeSubscriptionPerformanceRequest 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("Key")
@com.aliyun.core.annotation.Validation(required = true)
private String key;
@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;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SourceInstanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String sourceInstanceId;
@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("SubscriptionId")
@com.aliyun.core.annotation.Validation(required = true)
private String subscriptionId;
private DescribeSubscriptionPerformanceRequest(Builder builder) {
super(builder);
this.endTime = builder.endTime;
this.key = builder.key;
this.ownerId = builder.ownerId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
this.sourceInstanceId = builder.sourceInstanceId;
this.startTime = builder.startTime;
this.subscriptionId = builder.subscriptionId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeSubscriptionPerformanceRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return endTime
*/
public String getEndTime() {
return this.endTime;
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return sourceInstanceId
*/
public String getSourceInstanceId() {
return this.sourceInstanceId;
}
/**
* @return startTime
*/
public String getStartTime() {
return this.startTime;
}
/**
* @return subscriptionId
*/
public String getSubscriptionId() {
return this.subscriptionId;
}
public static final class Builder extends Request.Builder {
private String endTime;
private String key;
private Long ownerId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private String sourceInstanceId;
private String startTime;
private String subscriptionId;
private Builder() {
super();
}
private Builder(DescribeSubscriptionPerformanceRequest request) {
super(request);
this.endTime = request.endTime;
this.key = request.key;
this.ownerId = request.ownerId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
this.sourceInstanceId = request.sourceInstanceId;
this.startTime = request.startTime;
this.subscriptionId = request.subscriptionId;
}
/**
* EndTime.
*/
public Builder endTime(String endTime) {
this.putQueryParameter("EndTime", endTime);
this.endTime = endTime;
return this;
}
/**
* Key.
*/
public Builder key(String key) {
this.putQueryParameter("Key", key);
this.key = key;
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;
}
/**
* SourceInstanceId.
*/
public Builder sourceInstanceId(String sourceInstanceId) {
this.putQueryParameter("SourceInstanceId", sourceInstanceId);
this.sourceInstanceId = sourceInstanceId;
return this;
}
/**
* StartTime.
*/
public Builder startTime(String startTime) {
this.putQueryParameter("StartTime", startTime);
this.startTime = startTime;
return this;
}
/**
* SubscriptionId.
*/
public Builder subscriptionId(String subscriptionId) {
this.putQueryParameter("SubscriptionId", subscriptionId);
this.subscriptionId = subscriptionId;
return this;
}
@Override
public DescribeSubscriptionPerformanceRequest build() {
return new DescribeSubscriptionPerformanceRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy