com.aliyun.sdk.service.dts20200101.models.DeleteDtsJobsRequest 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 DeleteDtsJobsRequest} extends {@link RequestModel}
*
* DeleteDtsJobsRequest
*/
public class DeleteDtsJobsRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DtsJobIds")
@com.aliyun.core.annotation.Validation(required = true)
private String dtsJobIds;
@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;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ZeroEtlJob")
private Boolean zeroEtlJob;
private DeleteDtsJobsRequest(Builder builder) {
super(builder);
this.dtsJobIds = builder.dtsJobIds;
this.regionId = builder.regionId;
this.resourceGroupId = builder.resourceGroupId;
this.zeroEtlJob = builder.zeroEtlJob;
}
public static Builder builder() {
return new Builder();
}
public static DeleteDtsJobsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return dtsJobIds
*/
public String getDtsJobIds() {
return this.dtsJobIds;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
/**
* @return zeroEtlJob
*/
public Boolean getZeroEtlJob() {
return this.zeroEtlJob;
}
public static final class Builder extends Request.Builder {
private String dtsJobIds;
private String regionId;
private String resourceGroupId;
private Boolean zeroEtlJob;
private Builder() {
super();
}
private Builder(DeleteDtsJobsRequest request) {
super(request);
this.dtsJobIds = request.dtsJobIds;
this.regionId = request.regionId;
this.resourceGroupId = request.resourceGroupId;
this.zeroEtlJob = request.zeroEtlJob;
}
/**
* The ID of the data migration, data synchronization, or change tracking task.
*
*
* > * Separate multiple task IDs with commas (,).
* > * You can call the [DescribeDtsJobs](~~209702~~) operation to query task IDs.
*/
public Builder dtsJobIds(String dtsJobIds) {
this.putQueryParameter("DtsJobIds", dtsJobIds);
this.dtsJobIds = dtsJobIds;
return this;
}
/**
* The ID of the region in which the DTS instance resides. For more information, see [List of supported regions](~~141033~~).
*/
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;
}
/**
* ZeroEtlJob.
*/
public Builder zeroEtlJob(Boolean zeroEtlJob) {
this.putQueryParameter("ZeroEtlJob", zeroEtlJob);
this.zeroEtlJob = zeroEtlJob;
return this;
}
@Override
public DeleteDtsJobsRequest build() {
return new DeleteDtsJobsRequest(this);
}
}
}