com.aliyun.sdk.service.ens20171110.models.DescribeClusterKubeConfigResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-ens20171110 Show documentation
Show all versions of alibabacloud-ens20171110 Show documentation
Alibaba Cloud Ens (20171110) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ens20171110.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DescribeClusterKubeConfigResponseBody} extends {@link TeaModel}
*
* DescribeClusterKubeConfigResponseBody
*/
public class DescribeClusterKubeConfigResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ClusterId")
private String clusterId;
@com.aliyun.core.annotation.NameInMap("Kubeconfig")
private String kubeconfig;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DescribeClusterKubeConfigResponseBody(Builder builder) {
this.clusterId = builder.clusterId;
this.kubeconfig = builder.kubeconfig;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeClusterKubeConfigResponseBody create() {
return builder().build();
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return kubeconfig
*/
public String getKubeconfig() {
return this.kubeconfig;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String clusterId;
private String kubeconfig;
private String requestId;
/**
* The cluster ID.
*
* example:
* c8f0377146d104687ac562eef9403****
*/
public Builder clusterId(String clusterId) {
this.clusterId = clusterId;
return this;
}
/**
* The cluster certificate.
*
* example:
* apiVersion: v1
* clusters:
*
* - cluster:
* certificate-authority-data:***
* server: https://****:6443
* name: kubernetes
* contexts:
* - context:
* cluster: kubernetes
* user: "2580306074811*****"
* name: 258*******
* kind: Config
* users:
* - name: "2580306074811*****"
* user:
* client-certificate-data:***
* client-key-data: ***
*
*/
public Builder kubeconfig(String kubeconfig) {
this.kubeconfig = kubeconfig;
return this;
}
/**
* The ID of the request.
*
* example:
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeClusterKubeConfigResponseBody build() {
return new DescribeClusterKubeConfigResponseBody(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy