Class CfnClusterPropsMixin.KubeApiServerConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.eks.CfnClusterPropsMixin.KubeApiServerConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterPropsMixin.KubeApiServerConfigProperty>
- Enclosing interface:
CfnClusterPropsMixin.KubeApiServerConfigProperty
@Stability(Stable)
public static final class CfnClusterPropsMixin.KubeApiServerConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterPropsMixin.KubeApiServerConfigProperty>
A builder for
CfnClusterPropsMixin.KubeApiServerConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnClusterPropsMixin.KubeApiServerConfigProperty.getEventTtl()serviceNodePortRange(CfnClusterPropsMixin.ServiceNodePortRangeProperty serviceNodePortRange) serviceNodePortRange(IResolvable serviceNodePortRange)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
eventTtl
@Stability(Stable) public CfnClusterPropsMixin.KubeApiServerConfigProperty.Builder eventTtl(String eventTtl) Sets the value ofCfnClusterPropsMixin.KubeApiServerConfigProperty.getEventTtl()- Parameters:
eventTtl- The duration that Kubernetes events are retained (e.g., 30m, 1h).- Returns:
this
-
serviceNodePortRange
@Stability(Stable) public CfnClusterPropsMixin.KubeApiServerConfigProperty.Builder serviceNodePortRange(IResolvable serviceNodePortRange) - Parameters:
serviceNodePortRange- The port range for Kubernetes NodePort services.- Returns:
this
-
serviceNodePortRange
@Stability(Stable) public CfnClusterPropsMixin.KubeApiServerConfigProperty.Builder serviceNodePortRange(CfnClusterPropsMixin.ServiceNodePortRangeProperty serviceNodePortRange) - Parameters:
serviceNodePortRange- The port range for Kubernetes NodePort services.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClusterPropsMixin.KubeApiServerConfigProperty>- Returns:
- a new instance of
CfnClusterPropsMixin.KubeApiServerConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-