com.aliyun.sdk.service.dts20200101.models.ModifyDtsJobDuLimitRequest Maven / Gradle / Ivy
Show all versions of alibabacloud-dts20200101 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.dts20200101.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link ModifyDtsJobDuLimitRequest} extends {@link RequestModel}
*
* ModifyDtsJobDuLimitRequest
*/
public class ModifyDtsJobDuLimitRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DtsJobId")
@com.aliyun.core.annotation.Validation(required = true)
private String dtsJobId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DuLimit")
@com.aliyun.core.annotation.Validation(required = true)
private Long duLimit;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private String ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceGroupId")
private String resourceGroupId;
private ModifyDtsJobDuLimitRequest(Builder builder) {
super(builder);
this.dtsJobId = builder.dtsJobId;
this.duLimit = builder.duLimit;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceGroupId = builder.resourceGroupId;
}
public static Builder builder() {
return new Builder();
}
public static ModifyDtsJobDuLimitRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return dtsJobId
*/
public String getDtsJobId() {
return this.dtsJobId;
}
/**
* @return duLimit
*/
public Long getDuLimit() {
return this.duLimit;
}
/**
* @return ownerId
*/
public String getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
public static final class Builder extends Request.Builder {
private String dtsJobId;
private Long duLimit;
private String ownerId;
private String regionId;
private String resourceGroupId;
private Builder() {
super();
}
private Builder(ModifyDtsJobDuLimitRequest request) {
super(request);
this.dtsJobId = request.dtsJobId;
this.duLimit = request.duLimit;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceGroupId = request.resourceGroupId;
}
/**
* The ID of the data migration, data synchronization, or change tracking task.
*/
public Builder dtsJobId(String dtsJobId) {
this.putQueryParameter("DtsJobId", dtsJobId);
this.dtsJobId = dtsJobId;
return this;
}
/**
* The upper limit of DUs for the DTS task.
*
*
* > Minimum value: **1**.
*/
public Builder duLimit(Long duLimit) {
this.putQueryParameter("DuLimit", duLimit);
this.duLimit = duLimit;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(String ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* The ID of the region in which the DTS instance resides.
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceGroupId.
*/
public Builder resourceGroupId(String resourceGroupId) {
this.putQueryParameter("ResourceGroupId", resourceGroupId);
this.resourceGroupId = resourceGroupId;
return this;
}
@Override
public ModifyDtsJobDuLimitRequest build() {
return new ModifyDtsJobDuLimitRequest(this);
}
}
}