Class CfnClusterPropsMixin.ElasticLoadBalancingProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.eks.CfnClusterPropsMixin.ElasticLoadBalancingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterPropsMixin.ElasticLoadBalancingProperty>
- Enclosing interface:
CfnClusterPropsMixin.ElasticLoadBalancingProperty
@Stability(Stable)
public static final class CfnClusterPropsMixin.ElasticLoadBalancingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterPropsMixin.ElasticLoadBalancingProperty>
A builder for
CfnClusterPropsMixin.ElasticLoadBalancingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnClusterPropsMixin.ElasticLoadBalancingProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnClusterPropsMixin.ElasticLoadBalancingProperty.getEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
@Stability(Stable) public CfnClusterPropsMixin.ElasticLoadBalancingProperty.Builder enabled(Boolean enabled) Sets the value ofCfnClusterPropsMixin.ElasticLoadBalancingProperty.getEnabled()- Parameters:
enabled- Indicates if the load balancing capability is enabled on your EKS Auto Mode cluster. If the load balancing capability is enabled, EKS Auto Mode will create and delete load balancers in your AWS account.- Returns:
this
-
enabled
@Stability(Stable) public CfnClusterPropsMixin.ElasticLoadBalancingProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnClusterPropsMixin.ElasticLoadBalancingProperty.getEnabled()- Parameters:
enabled- Indicates if the load balancing capability is enabled on your EKS Auto Mode cluster. If the load balancing capability is enabled, EKS Auto Mode will create and delete load balancers in your AWS account.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClusterPropsMixin.ElasticLoadBalancingProperty>- Returns:
- a new instance of
CfnClusterPropsMixin.ElasticLoadBalancingProperty - Throws:
NullPointerException- if any required attribute was not provided
-