Class CfnCluster.KubeControllerManagerConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.eks_v2.CfnCluster.KubeControllerManagerConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCluster.KubeControllerManagerConfigProperty>
- Enclosing interface:
CfnCluster.KubeControllerManagerConfigProperty
@Stability(Stable)
public static final class CfnCluster.KubeControllerManagerConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCluster.KubeControllerManagerConfigProperty>
A builder for
CfnCluster.KubeControllerManagerConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.horizontalPodAutoscalerControllerConfig(IResolvable horizontalPodAutoscalerControllerConfig) horizontalPodAutoscalerControllerConfig(CfnCluster.HorizontalPodAutoscalerControllerConfigProperty horizontalPodAutoscalerControllerConfig) podGcControllerConfig(IResolvable podGcControllerConfig) podGcControllerConfig(CfnCluster.PodGcControllerConfigProperty podGcControllerConfig)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
horizontalPodAutoscalerControllerConfig
@Stability(Stable) public CfnCluster.KubeControllerManagerConfigProperty.Builder horizontalPodAutoscalerControllerConfig(IResolvable horizontalPodAutoscalerControllerConfig) Sets the value ofCfnCluster.KubeControllerManagerConfigProperty.getHorizontalPodAutoscalerControllerConfig()- Parameters:
horizontalPodAutoscalerControllerConfig- The horizontal pod autoscaler controller configuration.- Returns:
this
-
horizontalPodAutoscalerControllerConfig
@Stability(Stable) public CfnCluster.KubeControllerManagerConfigProperty.Builder horizontalPodAutoscalerControllerConfig(CfnCluster.HorizontalPodAutoscalerControllerConfigProperty horizontalPodAutoscalerControllerConfig) Sets the value ofCfnCluster.KubeControllerManagerConfigProperty.getHorizontalPodAutoscalerControllerConfig()- Parameters:
horizontalPodAutoscalerControllerConfig- The horizontal pod autoscaler controller configuration.- Returns:
this
-
podGcControllerConfig
@Stability(Stable) public CfnCluster.KubeControllerManagerConfigProperty.Builder podGcControllerConfig(IResolvable podGcControllerConfig) - Parameters:
podGcControllerConfig- The pod garbage collector controller configuration.- Returns:
this
-
podGcControllerConfig
@Stability(Stable) public CfnCluster.KubeControllerManagerConfigProperty.Builder podGcControllerConfig(CfnCluster.PodGcControllerConfigProperty podGcControllerConfig) - Parameters:
podGcControllerConfig- The pod garbage collector controller configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCluster.KubeControllerManagerConfigProperty>- Returns:
- a new instance of
CfnCluster.KubeControllerManagerConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-