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

com.aliyun.sdk.service.cs20151215.models.DescribeAddonsRequest Maven / Gradle / Ivy

There is a newer version: 2.0.29
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cs20151215.models;

import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * {@link DescribeAddonsRequest} extends {@link RequestModel}
 *
 * 

DescribeAddonsRequest

*/ public class DescribeAddonsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("cluster_profile") private String clusterProfile; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("cluster_spec") private String clusterSpec; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("cluster_type") private String clusterType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("cluster_version") private String clusterVersion; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("region") @com.aliyun.core.annotation.Validation(required = true) private String region; private DescribeAddonsRequest(Builder builder) { super(builder); this.clusterProfile = builder.clusterProfile; this.clusterSpec = builder.clusterSpec; this.clusterType = builder.clusterType; this.clusterVersion = builder.clusterVersion; this.region = builder.region; } public static Builder builder() { return new Builder(); } public static DescribeAddonsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return clusterProfile */ public String getClusterProfile() { return this.clusterProfile; } /** * @return clusterSpec */ public String getClusterSpec() { return this.clusterSpec; } /** * @return clusterType */ public String getClusterType() { return this.clusterType; } /** * @return clusterVersion */ public String getClusterVersion() { return this.clusterVersion; } /** * @return region */ public String getRegion() { return this.region; } public static final class Builder extends Request.Builder { private String clusterProfile; private String clusterSpec; private String clusterType; private String clusterVersion; private String region; private Builder() { super(); } private Builder(DescribeAddonsRequest request) { super(request); this.clusterProfile = request.clusterProfile; this.clusterSpec = request.clusterSpec; this.clusterType = request.clusterType; this.clusterVersion = request.clusterVersion; this.region = request.region; } /** * The cluster type. Valid values: *

* * * `Default`: ACK managed cluster * * `Serverless`: ACK Serverless cluster * * `Edge`: ACK Edge cluster */ public Builder clusterProfile(String clusterProfile) { this.putQueryParameter("cluster_profile", clusterProfile); this.clusterProfile = clusterProfile; return this; } /** * The edition of the cluster. If you set the cluster type to `ManagedKubernetes`, the following editions are supported: *

* * * `ack.pro.small`: ACK Pro cluster * * `ack.standard`: ACK Basic cluster * * By default, this parameter is left empty. If you leave this parameter empty, clusters are not filtered by edition. */ public Builder clusterSpec(String clusterSpec) { this.putQueryParameter("cluster_spec", clusterSpec); this.clusterSpec = clusterSpec; return this; } /** * The type of cluster. Valid values: *

* * * `Kubernetes`: ACK dedicated cluster. * * `ManagedKubernetes`: ACK managed cluster. ACK managed clusters include ACK Pro clusters, ACK Basic clusters, ACK Serverless Pro clusters, ACK Serverless Basic clusters, ACK Edge Pro clusters, and ACK Edge Basic clusters. * * `ExternalKubernetes`: registered cluster. */ public Builder clusterType(String clusterType) { this.putQueryParameter("cluster_type", clusterType); this.clusterType = clusterType; return this; } /** * The cluster version. */ public Builder clusterVersion(String clusterVersion) { this.putQueryParameter("cluster_version", clusterVersion); this.clusterVersion = clusterVersion; return this; } /** * The region ID of the cluster. */ public Builder region(String region) { this.putQueryParameter("region", region); this.region = region; return this; } @Override public DescribeAddonsRequest build() { return new DescribeAddonsRequest(this); } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy