Class CreateClusterKubeconfigContentDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.containerengine.model.CreateClusterKubeconfigContentDetails.Builder
-
- Enclosing class:
- CreateClusterKubeconfigContentDetails
public static class CreateClusterKubeconfigContentDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
tokenVersion
public CreateClusterKubeconfigContentDetails.Builder tokenVersion(String tokenVersion)
The version of the kubeconfig token.Supported value 2.0.0
- Parameters:
tokenVersion
- the value to set- Returns:
- this builder
-
expiration
public CreateClusterKubeconfigContentDetails.Builder expiration(Integer expiration)
Deprecated.This field is no longer used.
- Parameters:
expiration
- the value to set- Returns:
- this builder
-
endpoint
public 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.
- Parameters:
endpoint
- the value to set- Returns:
- this builder
-
build
public CreateClusterKubeconfigContentDetails build()
-
copy
public CreateClusterKubeconfigContentDetails.Builder copy(CreateClusterKubeconfigContentDetails model)
-
-