Class KubectlProviderProps.Builder
java.lang.Object
software.amazon.awscdk.services.eks.KubectlProviderProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<KubectlProviderProps>
- Enclosing interface:
KubectlProviderProps
@Stability(Stable)
public static final class KubectlProviderProps.Builder
extends Object
implements software.amazon.jsii.Builder<KubectlProviderProps>
A builder for
KubectlProviderProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofKubectlProviderProps.getCluster()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cluster
Sets the value ofKubectlProviderProps.getCluster()
- Parameters:
cluster
- The cluster to control. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<KubectlProviderProps>
- Returns:
- a new instance of
KubectlProviderProps
- Throws:
NullPointerException
- if any required attribute was not provided
-