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

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

DescribeSubscriptionInstancesRequest

*/ public class DescribeSubscriptionInstancesRequest 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("ClientToken") private String clientToken; @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 = 100, 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("SubscriptionInstanceName") private String subscriptionInstanceName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Tag") private java.util.List < Tag> tag; private DescribeSubscriptionInstancesRequest(Builder builder) { super(builder); this.accountId = builder.accountId; this.clientToken = builder.clientToken; this.ownerId = builder.ownerId; this.pageNum = builder.pageNum; this.pageSize = builder.pageSize; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; this.subscriptionInstanceName = builder.subscriptionInstanceName; this.tag = builder.tag; } public static Builder builder() { return new Builder(); } public static DescribeSubscriptionInstancesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return accountId */ public String getAccountId() { return this.accountId; } /** * @return clientToken */ public String getClientToken() { return this.clientToken; } /** * @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 subscriptionInstanceName */ public String getSubscriptionInstanceName() { return this.subscriptionInstanceName; } /** * @return tag */ public java.util.List < Tag> getTag() { return this.tag; } public static final class Builder extends Request.Builder { private String accountId; private String clientToken; private String ownerId; private Integer pageNum; private Integer pageSize; private String regionId; private String resourceGroupId; private String subscriptionInstanceName; private java.util.List < Tag> tag; private Builder() { super(); } private Builder(DescribeSubscriptionInstancesRequest request) { super(request); this.accountId = request.accountId; this.clientToken = request.clientToken; this.ownerId = request.ownerId; this.pageNum = request.pageNum; this.pageSize = request.pageSize; this.regionId = request.regionId; this.resourceGroupId = request.resourceGroupId; this.subscriptionInstanceName = request.subscriptionInstanceName; this.tag = request.tag; } /** * 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; } /** * The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that it is unique among different requests. The **ClientToken** parameter can contain only ASCII characters and cannot exceed 64 characters in length. */ public Builder clientToken(String clientToken) { this.putQueryParameter("ClientToken", clientToken); this.clientToken = clientToken; 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: **30**, **50**, and **100**. Default value: **30**. */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * The ID of the region where the change tracking instance resides. For more information, see [List of supported regions](~~49442~~). */ 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 name of the change tracking instance. *

* * > If you specify this parameter, DTS returns all the change tracking instances that match the specified name. */ public Builder subscriptionInstanceName(String subscriptionInstanceName) { this.putQueryParameter("SubscriptionInstanceName", subscriptionInstanceName); this.subscriptionInstanceName = subscriptionInstanceName; return this; } /** * Tag. */ public Builder tag(java.util.List < Tag> tag) { this.putQueryParameter("Tag", tag); this.tag = tag; return this; } @Override public DescribeSubscriptionInstancesRequest build() { return new DescribeSubscriptionInstancesRequest(this); } } public static class Tag extends TeaModel { @com.aliyun.core.annotation.NameInMap("Key") @com.aliyun.core.annotation.Validation(required = true) private String key; @com.aliyun.core.annotation.NameInMap("Value") private String value; private Tag(Builder builder) { this.key = builder.key; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static Tag create() { return builder().build(); } /** * @return key */ public String getKey() { return this.key; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String key; private String value; /** * The tag key. *

* * > * * N specifies the serial number of the tag. For example, Tag.1.Key specifies the key of the first tag and Tag.2.Key specifies the key of the second tag. You can specify 1 to 20 tag keys at a time. * * This parameter cannot be an empty string. */ public Builder key(String key) { this.key = key; return this; } /** * The tag value. *

* * > * * N specifies the serial number of the tag. For example, Tag.1.Value specifies the value of the first tag and Tag.2.Value specifies the value of the second tag. You can specify 1 to 20 tag values at a time. * * This parameter can be an empty string. */ public Builder value(String value) { this.value = value; return this; } public Tag build() { return new Tag(this); } } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy