Class CfnCluster.LoggingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.eks.CfnCluster.LoggingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCluster.LoggingProperty>
- Enclosing interface:
CfnCluster.LoggingProperty
@Stability(Stable)
public static final class CfnCluster.LoggingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCluster.LoggingProperty>
A builder for
CfnCluster.LoggingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.clusterLogging(IResolvable clusterLogging) Sets the value ofCfnCluster.LoggingProperty.getClusterLogging()clusterLogging(CfnCluster.ClusterLoggingProperty clusterLogging) Sets the value ofCfnCluster.LoggingProperty.getClusterLogging()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clusterLogging
@Stability(Stable) public CfnCluster.LoggingProperty.Builder clusterLogging(IResolvable clusterLogging) Sets the value ofCfnCluster.LoggingProperty.getClusterLogging()- Parameters:
clusterLogging- The cluster control plane logging configuration for your cluster.- Returns:
this
-
clusterLogging
@Stability(Stable) public CfnCluster.LoggingProperty.Builder clusterLogging(CfnCluster.ClusterLoggingProperty clusterLogging) Sets the value ofCfnCluster.LoggingProperty.getClusterLogging()- Parameters:
clusterLogging- The cluster control plane logging configuration for your cluster.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCluster.LoggingProperty>- Returns:
- a new instance of
CfnCluster.LoggingProperty - Throws:
NullPointerException- if any required attribute was not provided
-