![JAR search and dependency download from the Maven repository](/logo.png)
com.aliyun.sdk.service.cs20151215.models.DescribeClusterUserKubeconfigResponseBody Maven / Gradle / Ivy
// 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 DescribeClusterUserKubeconfigResponseBody} extends {@link TeaModel}
*
* DescribeClusterUserKubeconfigResponseBody
*/
public class DescribeClusterUserKubeconfigResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("config")
private String config;
@com.aliyun.core.annotation.NameInMap("expiration")
private String expiration;
private DescribeClusterUserKubeconfigResponseBody(Builder builder) {
this.config = builder.config;
this.expiration = builder.expiration;
}
public static Builder builder() {
return new Builder();
}
public static DescribeClusterUserKubeconfigResponseBody create() {
return builder().build();
}
/**
* @return config
*/
public String getConfig() {
return this.config;
}
/**
* @return expiration
*/
public String getExpiration() {
return this.expiration;
}
public static final class Builder {
private String config;
private String expiration;
/**
* The kubeconfig file of the cluster. For more information about the content of the kubeconfig file, see [Configure cluster credentials](~~86494~~).
*/
public Builder config(String config) {
this.config = config;
return this;
}
/**
* The validity period of the kubeconfig file. The value is the UTC time displayed in RFC3339 format.
*/
public Builder expiration(String expiration) {
this.expiration = expiration;
return this;
}
public DescribeClusterUserKubeconfigResponseBody build() {
return new DescribeClusterUserKubeconfigResponseBody(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy