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

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

DescribeClusterV2UserKubeconfigRequest

*/ public class DescribeClusterV2UserKubeconfigRequest extends Request { @com.aliyun.core.annotation.Path @com.aliyun.core.annotation.NameInMap("ClusterId") @com.aliyun.core.annotation.Validation(required = true) private String clusterId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PrivateIpAddress") private Boolean privateIpAddress; private DescribeClusterV2UserKubeconfigRequest(Builder builder) { super(builder); this.clusterId = builder.clusterId; this.privateIpAddress = builder.privateIpAddress; } public static Builder builder() { return new Builder(); } public static DescribeClusterV2UserKubeconfigRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return privateIpAddress */ public Boolean getPrivateIpAddress() { return this.privateIpAddress; } public static final class Builder extends Request.Builder { private String clusterId; private Boolean privateIpAddress; private Builder() { super(); } private Builder(DescribeClusterV2UserKubeconfigRequest request) { super(request); this.clusterId = request.clusterId; this.privateIpAddress = request.privateIpAddress; } /** * ClusterId. */ public Builder clusterId(String clusterId) { this.putPathParameter("ClusterId", clusterId); this.clusterId = clusterId; return this; } /** * PrivateIpAddress. */ public Builder privateIpAddress(Boolean privateIpAddress) { this.putQueryParameter("PrivateIpAddress", privateIpAddress); this.privateIpAddress = privateIpAddress; return this; } @Override public DescribeClusterV2UserKubeconfigRequest build() { return new DescribeClusterV2UserKubeconfigRequest(this); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy