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

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

DescribeClusterAddonMetadataRequest

*/ public class DescribeClusterAddonMetadataRequest extends Request { @com.aliyun.core.annotation.Path @com.aliyun.core.annotation.NameInMap("cluster_id") @com.aliyun.core.annotation.Validation(required = true) private String clusterId; @com.aliyun.core.annotation.Path @com.aliyun.core.annotation.NameInMap("component_id") @com.aliyun.core.annotation.Validation(required = true) private String componentId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("version") private String version; private DescribeClusterAddonMetadataRequest(Builder builder) { super(builder); this.clusterId = builder.clusterId; this.componentId = builder.componentId; this.version = builder.version; } public static Builder builder() { return new Builder(); } public static DescribeClusterAddonMetadataRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return componentId */ public String getComponentId() { return this.componentId; } /** * @return version */ public String getVersion() { return this.version; } public static final class Builder extends Request.Builder { private String clusterId; private String componentId; private String version; private Builder() { super(); } private Builder(DescribeClusterAddonMetadataRequest request) { super(request); this.clusterId = request.clusterId; this.componentId = request.componentId; this.version = request.version; } /** * The cluster ID. */ public Builder clusterId(String clusterId) { this.putPathParameter("cluster_id", clusterId); this.clusterId = clusterId; return this; } /** * The component ID. */ public Builder componentId(String componentId) { this.putPathParameter("component_id", componentId); this.componentId = componentId; return this; } /** * version. */ public Builder version(String version) { this.putQueryParameter("version", version); this.version = version; return this; } @Override public DescribeClusterAddonMetadataRequest build() { return new DescribeClusterAddonMetadataRequest(this); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy