com.aliyun.cs20151215.models.DescribeSubaccountK8sClusterUserConfigRequest 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 DescribeSubaccountK8sClusterUserConfigRequest extends TeaModel {
/**
* Specifies whether to obtain the kubeconfig file used to connect to the cluster over the internal network. Valid values:
*
* true
: Obtain the kubeconfig file used to connect to the cluster over the internal network.
* false
: Obtain the kubeconfig file used to connect to the cluster over the Internet.
*
* Default value: false
.
*
* example:
* true
*/
@NameInMap("PrivateIpAddress")
public Boolean privateIpAddress;
/**
* The validity period of the temporary kubeconfig file. Unit: minutes.
* Valid values: 15 to 4320 (three days).
*
* If you leave this parameter empty, the system sets a longer validity period and returns the value in the expiration parameter of the response.
*
*
* example:
* 15
*/
@NameInMap("TemporaryDurationMinutes")
public Long temporaryDurationMinutes;
public static DescribeSubaccountK8sClusterUserConfigRequest build(java.util.Map map) throws Exception {
DescribeSubaccountK8sClusterUserConfigRequest self = new DescribeSubaccountK8sClusterUserConfigRequest();
return TeaModel.build(map, self);
}
public DescribeSubaccountK8sClusterUserConfigRequest setPrivateIpAddress(Boolean privateIpAddress) {
this.privateIpAddress = privateIpAddress;
return this;
}
public Boolean getPrivateIpAddress() {
return this.privateIpAddress;
}
public DescribeSubaccountK8sClusterUserConfigRequest setTemporaryDurationMinutes(Long temporaryDurationMinutes) {
this.temporaryDurationMinutes = temporaryDurationMinutes;
return this;
}
public Long getTemporaryDurationMinutes() {
return this.temporaryDurationMinutes;
}
}