Class CreateClusterKubeconfigContentDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.containerengine.model.CreateClusterKubeconfigContentDetails.Builder
 
- 
- Enclosing class:
- CreateClusterKubeconfigContentDetails
 
 public static class CreateClusterKubeconfigContentDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateClusterKubeconfigContentDetailsbuild()CreateClusterKubeconfigContentDetails.Buildercopy(CreateClusterKubeconfigContentDetails model)CreateClusterKubeconfigContentDetails.Builderendpoint(CreateClusterKubeconfigContentDetails.Endpoint endpoint)The endpoint to target.CreateClusterKubeconfigContentDetails.Builderexpiration(Integer expiration)Deprecated.CreateClusterKubeconfigContentDetails.BuildertokenVersion(String tokenVersion)The version of the kubeconfig token.
 
- 
- 
- 
Method Detail- 
tokenVersionpublic 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
 
 - 
expirationpublic CreateClusterKubeconfigContentDetails.Builder expiration(Integer expiration) Deprecated.This field is no longer used. - Parameters:
- expiration- the value to set
- Returns:
- this builder
 
 - 
endpointpublic 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
 
 - 
buildpublic CreateClusterKubeconfigContentDetails build() 
 - 
copypublic CreateClusterKubeconfigContentDetails.Builder copy(CreateClusterKubeconfigContentDetails model) 
 
- 
 
-