com.aliyun.sdk.service.hbase20170115.models.ConvertClusterRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-hbase20170115 Show documentation
Show all versions of alibabacloud-hbase20170115 Show documentation
Alibaba Cloud HBase (20170115) Async SDK for Java
The newest version!
// 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 ConvertClusterRequest} extends {@link RequestModel}
*
* ConvertClusterRequest
*/
public class ConvertClusterRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClusterId")
@com.aliyun.core.annotation.Validation(required = true)
private String clusterId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Duration")
@com.aliyun.core.annotation.Validation(required = true)
private Integer duration;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PricingCycle")
@com.aliyun.core.annotation.Validation(required = true)
private String pricingCycle;
@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;
private ConvertClusterRequest(Builder builder) {
super(builder);
this.clusterId = builder.clusterId;
this.duration = builder.duration;
this.ownerId = builder.ownerId;
this.pricingCycle = builder.pricingCycle;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static ConvertClusterRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return duration
*/
public Integer getDuration() {
return this.duration;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return pricingCycle
*/
public String getPricingCycle() {
return this.pricingCycle;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder {
private String clusterId;
private Integer duration;
private Long ownerId;
private String pricingCycle;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(ConvertClusterRequest request) {
super(request);
this.clusterId = request.clusterId;
this.duration = request.duration;
this.ownerId = request.ownerId;
this.pricingCycle = request.pricingCycle;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* ClusterId.
*/
public Builder clusterId(String clusterId) {
this.putQueryParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* Duration.
*/
public Builder duration(Integer duration) {
this.putQueryParameter("Duration", duration);
this.duration = duration;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* PricingCycle.
*/
public Builder pricingCycle(String pricingCycle) {
this.putQueryParameter("PricingCycle", pricingCycle);
this.pricingCycle = pricingCycle;
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;
}
@Override
public ConvertClusterRequest build() {
return new ConvertClusterRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy