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

com.aliyun.cs20151215.models.DescribeClusterUserKubeconfigRequest Maven / Gradle / Ivy

There is a newer version: 4.8.0
Show newest version
// 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; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy