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

com.aliyun.sdk.service.dts20200101.models.DeleteConsumerChannelRequest 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 DeleteConsumerChannelRequest} extends {@link RequestModel}
 *
 * 

DeleteConsumerChannelRequest

*/ public class DeleteConsumerChannelRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ConsumerGroupId") @com.aliyun.core.annotation.Validation(required = true) private String consumerGroupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DtsInstanceId") private String dtsInstanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DtsJobId") private String dtsJobId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceGroupId") private String resourceGroupId; private DeleteConsumerChannelRequest(Builder builder) { super(builder); this.consumerGroupId = builder.consumerGroupId; this.dtsInstanceId = builder.dtsInstanceId; this.dtsJobId = builder.dtsJobId; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; } public static Builder builder() { return new Builder(); } public static DeleteConsumerChannelRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return consumerGroupId */ public String getConsumerGroupId() { return this.consumerGroupId; } /** * @return dtsInstanceId */ public String getDtsInstanceId() { return this.dtsInstanceId; } /** * @return dtsJobId */ public String getDtsJobId() { return this.dtsJobId; } /** * @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 consumerGroupId; private String dtsInstanceId; private String dtsJobId; private String regionId; private String resourceGroupId; private Builder() { super(); } private Builder(DeleteConsumerChannelRequest request) { super(request); this.consumerGroupId = request.consumerGroupId; this.dtsInstanceId = request.dtsInstanceId; this.dtsJobId = request.dtsJobId; this.regionId = request.regionId; this.resourceGroupId = request.resourceGroupId; } /** * The ID of the consumer group. You can call the [DescribeConsumerChannel](~~264169~~) operation to query the consumer group ID. */ public Builder consumerGroupId(String consumerGroupId) { this.putQueryParameter("ConsumerGroupId", consumerGroupId); this.consumerGroupId = consumerGroupId; return this; } /** * The ID of the change tracking instance. You can call the [DescribeDtsJobs](~~209702~~) operation to query the instance ID. *

* * > You must specify at least one of the **DtsInstanceId** and **DtsJobId** parameters. */ public Builder dtsInstanceId(String dtsInstanceId) { this.putQueryParameter("DtsInstanceId", dtsInstanceId); this.dtsInstanceId = dtsInstanceId; return this; } /** * The ID of the change tracking task. You can call the [DescribeDtsJobs](~~209702~~) operation to query the task ID. *

* * > You must specify at least one of the **DtsInstanceId** and **DtsJobId** parameters. */ public Builder dtsJobId(String dtsJobId) { this.putQueryParameter("DtsJobId", dtsJobId); this.dtsJobId = dtsJobId; return this; } /** * The ID of the region where the change tracking 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; } @Override public DeleteConsumerChannelRequest build() { return new DeleteConsumerChannelRequest(this); } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy