com.aliyun.cs20151215.models.DescribeClusterUserKubeconfigRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cs20151215 Show documentation
Show all versions of cs20151215 Show documentation
Alibaba Cloud CS (20151215) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.cs20151215.models;
import com.aliyun.tea.*;
public class DescribeClusterUserKubeconfigRequest extends TeaModel {
/**
* Specifies whether to obtain the kubeconfig file that is used to connect to the cluster over the internal network. Valid values:
*
* true
: obtains the kubeconfig file that is used to connect to the master instance over the internal network.
* false
: obtains the kubeconfig file that is used to connect to the master instance over the Internet.
*
* Default value: false
.
*
* example:
* true
*/
@NameInMap("PrivateIpAddress")
public Boolean privateIpAddress;
/**
* The validity period of a temporary kubeconfig file. Unit: minutes. Valid values: 15 to 4320 (3 days).
*
* If you do not specify this parameter, the system specifies a longer validity period. The validity period is returned in the expiration
parameter.
*
*
* example:
* 15
*/
@NameInMap("TemporaryDurationMinutes")
public Long temporaryDurationMinutes;
public static DescribeClusterUserKubeconfigRequest build(java.util.Map map) throws Exception {
DescribeClusterUserKubeconfigRequest self = new DescribeClusterUserKubeconfigRequest();
return TeaModel.build(map, self);
}
public DescribeClusterUserKubeconfigRequest setPrivateIpAddress(Boolean privateIpAddress) {
this.privateIpAddress = privateIpAddress;
return this;
}
public Boolean getPrivateIpAddress() {
return this.privateIpAddress;
}
public DescribeClusterUserKubeconfigRequest setTemporaryDurationMinutes(Long temporaryDurationMinutes) {
this.temporaryDurationMinutes = temporaryDurationMinutes;
return this;
}
public Long getTemporaryDurationMinutes() {
return this.temporaryDurationMinutes;
}
}