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

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

SwitchPhysicalDtsJobToCloudRequest

*/ public class SwitchPhysicalDtsJobToCloudRequest extends Request { @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") 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("SynchronizationDirection") private String synchronizationDirection; private SwitchPhysicalDtsJobToCloudRequest(Builder builder) { super(builder); this.dtsInstanceId = builder.dtsInstanceId; this.dtsJobId = builder.dtsJobId; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; this.synchronizationDirection = builder.synchronizationDirection; } public static Builder builder() { return new Builder(); } public static SwitchPhysicalDtsJobToCloudRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @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; } /** * @return synchronizationDirection */ public String getSynchronizationDirection() { return this.synchronizationDirection; } public static final class Builder extends Request.Builder { private String dtsInstanceId; private String dtsJobId; private String regionId; private String resourceGroupId; private String synchronizationDirection; private Builder() { super(); } private Builder(SwitchPhysicalDtsJobToCloudRequest request) { super(request); this.dtsInstanceId = request.dtsInstanceId; this.dtsJobId = request.dtsJobId; this.regionId = request.regionId; this.resourceGroupId = request.resourceGroupId; this.synchronizationDirection = request.synchronizationDirection; } /** * DtsInstanceId. */ public Builder dtsInstanceId(String dtsInstanceId) { this.putQueryParameter("DtsInstanceId", dtsInstanceId); this.dtsInstanceId = dtsInstanceId; return this; } /** * DtsJobId. */ public Builder dtsJobId(String dtsJobId) { this.putQueryParameter("DtsJobId", dtsJobId); this.dtsJobId = dtsJobId; return this; } /** * RegionId. */ 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; } /** * SynchronizationDirection. */ public Builder synchronizationDirection(String synchronizationDirection) { this.putQueryParameter("SynchronizationDirection", synchronizationDirection); this.synchronizationDirection = synchronizationDirection; return this; } @Override public SwitchPhysicalDtsJobToCloudRequest build() { return new SwitchPhysicalDtsJobToCloudRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy