Class CfnCluster.PodGcControllerConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.eks_v2.CfnCluster.PodGcControllerConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCluster.PodGcControllerConfigProperty>
- Enclosing interface:
CfnCluster.PodGcControllerConfigProperty
@Stability(Stable)
public static final class CfnCluster.PodGcControllerConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCluster.PodGcControllerConfigProperty>
A builder for
CfnCluster.PodGcControllerConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.terminatedPodGcThreshold(Number terminatedPodGcThreshold) Sets the value ofCfnCluster.PodGcControllerConfigProperty.getTerminatedPodGcThreshold()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
terminatedPodGcThreshold
@Stability(Stable) public CfnCluster.PodGcControllerConfigProperty.Builder terminatedPodGcThreshold(Number terminatedPodGcThreshold) Sets the value ofCfnCluster.PodGcControllerConfigProperty.getTerminatedPodGcThreshold()- Parameters:
terminatedPodGcThreshold- The number of terminated pods that can exist before the terminated pod garbage collector starts deleting them.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCluster.PodGcControllerConfigProperty>- Returns:
- a new instance of
CfnCluster.PodGcControllerConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-