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

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

DescribeInitializationStatusRequest

*/ public class DescribeInitializationStatusRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AccountId") private String accountId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private String ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageNum") private Integer pageNum; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") @com.aliyun.core.annotation.Validation(maximum = 300, minimum = 1) private Integer 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("SynchronizationJobId") @com.aliyun.core.annotation.Validation(required = true) private String synchronizationJobId; private DescribeInitializationStatusRequest(Builder builder) { super(builder); this.accountId = builder.accountId; this.ownerId = builder.ownerId; this.pageNum = builder.pageNum; this.pageSize = builder.pageSize; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; this.synchronizationJobId = builder.synchronizationJobId; } public static Builder builder() { return new Builder(); } public static DescribeInitializationStatusRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return accountId */ public String getAccountId() { return this.accountId; } /** * @return ownerId */ public String getOwnerId() { return this.ownerId; } /** * @return pageNum */ public Integer getPageNum() { return this.pageNum; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return synchronizationJobId */ public String getSynchronizationJobId() { return this.synchronizationJobId; } public static final class Builder extends Request.Builder { private String accountId; private String ownerId; private Integer pageNum; private Integer pageSize; private String regionId; private String resourceGroupId; private String synchronizationJobId; private Builder() { super(); } private Builder(DescribeInitializationStatusRequest request) { super(request); this.accountId = request.accountId; this.ownerId = request.ownerId; this.pageNum = request.pageNum; this.pageSize = request.pageSize; this.regionId = request.regionId; this.resourceGroupId = request.resourceGroupId; this.synchronizationJobId = request.synchronizationJobId; } /** * The ID of the Alibaba Cloud account. You do not need to specify this parameter because this parameter will be removed in the future. */ public Builder accountId(String accountId) { this.putQueryParameter("AccountId", accountId); this.accountId = accountId; return this; } /** * OwnerId. */ public Builder ownerId(String ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; 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 pageNum(Integer pageNum) { this.putQueryParameter("PageNum", pageNum); this.pageNum = pageNum; return this; } /** * The number of entries to return on each page. Valid values: **1** to **100**. Default value: **30**. */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; 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; } /** * The ID of the data synchronization instance. You can call the [DescribeSynchronizationJobs](~~49454~~) operation to query the instance ID. */ public Builder synchronizationJobId(String synchronizationJobId) { this.putQueryParameter("SynchronizationJobId", synchronizationJobId); this.synchronizationJobId = synchronizationJobId; return this; } @Override public DescribeInitializationStatusRequest build() { return new DescribeInitializationStatusRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy