public static class CreateClusterKubeconfigContentDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateClusterKubeconfigContentDetails |
build() |
CreateClusterKubeconfigContentDetails.Builder |
copy(CreateClusterKubeconfigContentDetails model) |
CreateClusterKubeconfigContentDetails.Builder |
endpoint(CreateClusterKubeconfigContentDetails.Endpoint endpoint)
The endpoint to target.
|
CreateClusterKubeconfigContentDetails.Builder |
expiration(Integer expiration)
Deprecated.
|
CreateClusterKubeconfigContentDetails.Builder |
tokenVersion(String tokenVersion)
The version of the kubeconfig token.
|
public CreateClusterKubeconfigContentDetails.Builder tokenVersion(String tokenVersion)
The version of the kubeconfig token. Supported value 2.0.0
tokenVersion
- the value to setpublic CreateClusterKubeconfigContentDetails.Builder expiration(Integer expiration)
Deprecated. This field is no longer used.
expiration
- the value to setpublic CreateClusterKubeconfigContentDetails.Builder endpoint(CreateClusterKubeconfigContentDetails.Endpoint endpoint)
The endpoint to target. A cluster may have multiple endpoints exposed but the kubeconfig can only target one at a time.
endpoint
- the value to setpublic CreateClusterKubeconfigContentDetails build()
public CreateClusterKubeconfigContentDetails.Builder copy(CreateClusterKubeconfigContentDetails model)
Copyright © 2016–2024. All rights reserved.