All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.dts20200101.models.StopDtsJobsRequest Maven / Gradle / Ivy

There is a newer version: 1.0.18
Show newest version
// 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 StopDtsJobsRequest} extends {@link RequestModel}
 *
 * 

StopDtsJobsRequest

*/ public class StopDtsJobsRequest 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 StopDtsJobsRequest(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 StopDtsJobsRequest 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(StopDtsJobsRequest 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 or data synchronization task. *

* * > * * Separate multiple task IDs by **,** (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 region ID of the DTS instance. 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 StopDtsJobsRequest build() { return new StopDtsJobsRequest(this); } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy