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

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

DescribePreCheckStatusRequest

*/ public class DescribePreCheckStatusRequest 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("JobCode") @com.aliyun.core.annotation.Validation(required = true) private String jobCode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageNo") private String pageNo; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private String pageSize; @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("StructPhase") private String structPhase; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StructType") private String structType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ZeroEtlJob") private Boolean zeroEtlJob; private DescribePreCheckStatusRequest(Builder builder) { super(builder); this.dtsJobId = builder.dtsJobId; this.jobCode = builder.jobCode; this.name = builder.name; this.pageNo = builder.pageNo; this.pageSize = builder.pageSize; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; this.structPhase = builder.structPhase; this.structType = builder.structType; this.zeroEtlJob = builder.zeroEtlJob; } public static Builder builder() { return new Builder(); } public static DescribePreCheckStatusRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return dtsJobId */ public String getDtsJobId() { return this.dtsJobId; } /** * @return jobCode */ public String getJobCode() { return this.jobCode; } /** * @return name */ public String getName() { return this.name; } /** * @return pageNo */ public String getPageNo() { return this.pageNo; } /** * @return pageSize */ public String getPageSize() { return this.pageSize; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return structPhase */ public String getStructPhase() { return this.structPhase; } /** * @return structType */ public String getStructType() { return this.structType; } /** * @return zeroEtlJob */ public Boolean getZeroEtlJob() { return this.zeroEtlJob; } public static final class Builder extends Request.Builder { private String dtsJobId; private String jobCode; private String name; private String pageNo; private String pageSize; private String regionId; private String resourceGroupId; private String structPhase; private String structType; private Boolean zeroEtlJob; private Builder() { super(); } private Builder(DescribePreCheckStatusRequest request) { super(request); this.dtsJobId = request.dtsJobId; this.jobCode = request.jobCode; this.name = request.name; this.pageNo = request.pageNo; this.pageSize = request.pageSize; this.regionId = request.regionId; this.resourceGroupId = request.resourceGroupId; this.structPhase = request.structPhase; this.structType = request.structType; this.zeroEtlJob = request.zeroEtlJob; } /** * 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 task code that specifies the type of the DTS subtask. Valid values: *

* * * **01**: precheck * * **02**: schema migration or initial schema synchronization * * **03**: full data migration or initial full data synchronization * * **04**: incremental data migration or synchronization */ public Builder jobCode(String jobCode) { this.putQueryParameter("JobCode", jobCode); this.jobCode = jobCode; return this; } /** * The filter item used to filter tables in fuzzy match. */ public Builder name(String name) { this.putQueryParameter("Name", name); this.name = name; return this; } /** * The number of the page to return. The value must be an integer that is greater than **0** and does not exceed the maximum value of the Integer data type. Default value: **1**. */ public Builder pageNo(String pageNo) { this.putQueryParameter("PageNo", pageNo); this.pageNo = pageNo; return this; } /** * The number of entries to return on each page. Default value: **20**. */ public Builder pageSize(String pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; 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; } /** * The filter item used to filter tables, views, and functions during schema migration. */ public Builder structPhase(String structPhase) { this.putQueryParameter("StructPhase", structPhase); this.structPhase = structPhase; return this; } /** * The type of schema definition. Valid values: *

* * * **before**: schema migration or initial schema synchronization * * **after**: DDL operations performed during incremental data migration or synchronization */ public Builder structType(String structType) { this.putQueryParameter("StructType", structType); this.structType = structType; return this; } /** * ZeroEtlJob. */ public Builder zeroEtlJob(Boolean zeroEtlJob) { this.putQueryParameter("ZeroEtlJob", zeroEtlJob); this.zeroEtlJob = zeroEtlJob; return this; } @Override public DescribePreCheckStatusRequest build() { return new DescribePreCheckStatusRequest(this); } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy