com.aliyun.sdk.service.dts20200101.models.DescribeSubscriptionInstanceAlertRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-dts20200101 Show documentation
Show all versions of alibabacloud-dts20200101 Show documentation
Alibaba Cloud Dts (20200101) Async SDK for Java
// 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 DescribeSubscriptionInstanceAlertRequest} extends {@link RequestModel}
*
* DescribeSubscriptionInstanceAlertRequest
*/
public class DescribeSubscriptionInstanceAlertRequest 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("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("SubscriptionInstanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String subscriptionInstanceId;
private DescribeSubscriptionInstanceAlertRequest(Builder builder) {
super(builder);
this.accountId = builder.accountId;
this.clientToken = builder.clientToken;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceGroupId = builder.resourceGroupId;
this.subscriptionInstanceId = builder.subscriptionInstanceId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeSubscriptionInstanceAlertRequest 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 regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceGroupId
*/
public String getResourceGroupId() {
return this.resourceGroupId;
}
/**
* @return subscriptionInstanceId
*/
public String getSubscriptionInstanceId() {
return this.subscriptionInstanceId;
}
public static final class Builder extends Request.Builder {
private String accountId;
private String clientToken;
private String ownerId;
private String regionId;
private String resourceGroupId;
private String subscriptionInstanceId;
private Builder() {
super();
}
private Builder(DescribeSubscriptionInstanceAlertRequest request) {
super(request);
this.accountId = request.accountId;
this.clientToken = request.clientToken;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceGroupId = request.resourceGroupId;
this.subscriptionInstanceId = request.subscriptionInstanceId;
}
/**
* 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 ensure that it is unique among different requests. The token 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;
}
/**
* 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 change tracking instance. You can call the DescribeSubscriptionInstances operation to query the instance ID.
*/
public Builder subscriptionInstanceId(String subscriptionInstanceId) {
this.putQueryParameter("SubscriptionInstanceId", subscriptionInstanceId);
this.subscriptionInstanceId = subscriptionInstanceId;
return this;
}
@Override
public DescribeSubscriptionInstanceAlertRequest build() {
return new DescribeSubscriptionInstanceAlertRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy