Class CfnClusterProps.Builder
java.lang.Object
software.amazon.awscdk.services.msk.CfnClusterProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterProps>
- Enclosing interface:
CfnClusterProps
@Stability(Stable)
public static final class CfnClusterProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterProps>
A builder for
CfnClusterProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbrokerNodeGroupInfo(IResolvable brokerNodeGroupInfo) Sets the value ofCfnClusterProps.getBrokerNodeGroupInfo()brokerNodeGroupInfo(CfnCluster.BrokerNodeGroupInfoProperty brokerNodeGroupInfo) Sets the value ofCfnClusterProps.getBrokerNodeGroupInfo()build()Builds the configured instance.clientAuthentication(IResolvable clientAuthentication) Sets the value ofCfnClusterProps.getClientAuthentication()clientAuthentication(CfnCluster.ClientAuthenticationProperty clientAuthentication) Sets the value ofCfnClusterProps.getClientAuthentication()clusterName(String clusterName) Sets the value ofCfnClusterProps.getClusterName()configurationInfo(IResolvable configurationInfo) Sets the value ofCfnClusterProps.getConfigurationInfo()configurationInfo(CfnCluster.ConfigurationInfoProperty configurationInfo) Sets the value ofCfnClusterProps.getConfigurationInfo()currentVersion(String currentVersion) Sets the value ofCfnClusterProps.getCurrentVersion()encryptionInfo(IResolvable encryptionInfo) Sets the value ofCfnClusterProps.getEncryptionInfo()encryptionInfo(CfnCluster.EncryptionInfoProperty encryptionInfo) Sets the value ofCfnClusterProps.getEncryptionInfo()enhancedMonitoring(String enhancedMonitoring) Sets the value ofCfnClusterProps.getEnhancedMonitoring()kafkaVersion(String kafkaVersion) Sets the value ofCfnClusterProps.getKafkaVersion()loggingInfo(IResolvable loggingInfo) Sets the value ofCfnClusterProps.getLoggingInfo()loggingInfo(CfnCluster.LoggingInfoProperty loggingInfo) Sets the value ofCfnClusterProps.getLoggingInfo()numberOfBrokerNodes(Number numberOfBrokerNodes) Sets the value ofCfnClusterProps.getNumberOfBrokerNodes()openMonitoring(IResolvable openMonitoring) Sets the value ofCfnClusterProps.getOpenMonitoring()openMonitoring(CfnCluster.OpenMonitoringProperty openMonitoring) Sets the value ofCfnClusterProps.getOpenMonitoring()storageMode(String storageMode) Sets the value ofCfnClusterProps.getStorageMode()Sets the value ofCfnClusterProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
brokerNodeGroupInfo
@Stability(Stable) public CfnClusterProps.Builder brokerNodeGroupInfo(IResolvable brokerNodeGroupInfo) Sets the value ofCfnClusterProps.getBrokerNodeGroupInfo()- Parameters:
brokerNodeGroupInfo- the value to be set. This parameter is required.- Returns:
this
-
brokerNodeGroupInfo
@Stability(Stable) public CfnClusterProps.Builder brokerNodeGroupInfo(CfnCluster.BrokerNodeGroupInfoProperty brokerNodeGroupInfo) Sets the value ofCfnClusterProps.getBrokerNodeGroupInfo()- Parameters:
brokerNodeGroupInfo- the value to be set. This parameter is required.- Returns:
this
-
clusterName
Sets the value ofCfnClusterProps.getClusterName()- Parameters:
clusterName- the value to be set. This parameter is required.- Returns:
this
-
kafkaVersion
Sets the value ofCfnClusterProps.getKafkaVersion()- Parameters:
kafkaVersion- the value to be set. This parameter is required.- Returns:
this
-
numberOfBrokerNodes
Sets the value ofCfnClusterProps.getNumberOfBrokerNodes()- Parameters:
numberOfBrokerNodes- the value to be set. This parameter is required.- Returns:
this
-
clientAuthentication
@Stability(Stable) public CfnClusterProps.Builder clientAuthentication(IResolvable clientAuthentication) Sets the value ofCfnClusterProps.getClientAuthentication()- Parameters:
clientAuthentication- the value to be set.- Returns:
this
-
clientAuthentication
@Stability(Stable) public CfnClusterProps.Builder clientAuthentication(CfnCluster.ClientAuthenticationProperty clientAuthentication) Sets the value ofCfnClusterProps.getClientAuthentication()- Parameters:
clientAuthentication- the value to be set.- Returns:
this
-
configurationInfo
Sets the value ofCfnClusterProps.getConfigurationInfo()- Parameters:
configurationInfo- the value to be set.- Returns:
this
-
configurationInfo
@Stability(Stable) public CfnClusterProps.Builder configurationInfo(CfnCluster.ConfigurationInfoProperty configurationInfo) Sets the value ofCfnClusterProps.getConfigurationInfo()- Parameters:
configurationInfo- the value to be set.- Returns:
this
-
currentVersion
Sets the value ofCfnClusterProps.getCurrentVersion()- Parameters:
currentVersion- The current version of the MSK cluster.- Returns:
this
-
encryptionInfo
Sets the value ofCfnClusterProps.getEncryptionInfo()- Parameters:
encryptionInfo- the value to be set.- Returns:
this
-
encryptionInfo
@Stability(Stable) public CfnClusterProps.Builder encryptionInfo(CfnCluster.EncryptionInfoProperty encryptionInfo) Sets the value ofCfnClusterProps.getEncryptionInfo()- Parameters:
encryptionInfo- the value to be set.- Returns:
this
-
enhancedMonitoring
Sets the value ofCfnClusterProps.getEnhancedMonitoring()- Parameters:
enhancedMonitoring- the value to be set.- Returns:
this
-
loggingInfo
Sets the value ofCfnClusterProps.getLoggingInfo()- Parameters:
loggingInfo- the value to be set.- Returns:
this
-
loggingInfo
@Stability(Stable) public CfnClusterProps.Builder loggingInfo(CfnCluster.LoggingInfoProperty loggingInfo) Sets the value ofCfnClusterProps.getLoggingInfo()- Parameters:
loggingInfo- the value to be set.- Returns:
this
-
openMonitoring
Sets the value ofCfnClusterProps.getOpenMonitoring()- Parameters:
openMonitoring- the value to be set.- Returns:
this
-
openMonitoring
@Stability(Stable) public CfnClusterProps.Builder openMonitoring(CfnCluster.OpenMonitoringProperty openMonitoring) Sets the value ofCfnClusterProps.getOpenMonitoring()- Parameters:
openMonitoring- the value to be set.- Returns:
this
-
storageMode
Sets the value ofCfnClusterProps.getStorageMode()- Parameters:
storageMode- the value to be set.- Returns:
this
-
tags
Sets the value ofCfnClusterProps.getTags()- Parameters:
tags- A key-value pair to associate with a resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClusterProps>- Returns:
- a new instance of
CfnClusterProps - Throws:
NullPointerException- if any required attribute was not provided
-