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

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

DescribeDedicatedClusterRequest

*/ public class DescribeDedicatedClusterRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DedicatedClusterId") @com.aliyun.core.annotation.Validation(required = true) private String dedicatedClusterId; @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; private DescribeDedicatedClusterRequest(Builder builder) { super(builder); this.dedicatedClusterId = builder.dedicatedClusterId; this.ownerId = builder.ownerId; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; } public static Builder builder() { return new Builder(); } public static DescribeDedicatedClusterRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return dedicatedClusterId */ public String getDedicatedClusterId() { return this.dedicatedClusterId; } /** * @return ownerId */ public String getOwnerId() { return this.ownerId; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } public static final class Builder extends Request.Builder { private String dedicatedClusterId; private String ownerId; private String regionId; private String resourceGroupId; private Builder() { super(); } private Builder(DescribeDedicatedClusterRequest request) { super(request); this.dedicatedClusterId = request.dedicatedClusterId; this.ownerId = request.ownerId; this.regionId = request.regionId; this.resourceGroupId = request.resourceGroupId; } /** * The ID of the cluster. */ public Builder dedicatedClusterId(String dedicatedClusterId) { this.putQueryParameter("DedicatedClusterId", dedicatedClusterId); this.dedicatedClusterId = dedicatedClusterId; return this; } /** * OwnerId. */ public Builder ownerId(String ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * The ID of the region in which the instance resides. */ 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; } @Override public DescribeDedicatedClusterRequest build() { return new DescribeDedicatedClusterRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy