Class CfnClusterMixinProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.msk.mixins.CfnClusterMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterMixinProps>
- Enclosing interface:
CfnClusterMixinProps
@Stability(Stable)
public static final class CfnClusterMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterMixinProps>
A builder for
CfnClusterMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbrokerNodeGroupInfo(IResolvable brokerNodeGroupInfo) Sets the value ofCfnClusterMixinProps.getBrokerNodeGroupInfo()brokerNodeGroupInfo(CfnClusterPropsMixin.BrokerNodeGroupInfoProperty brokerNodeGroupInfo) Sets the value ofCfnClusterMixinProps.getBrokerNodeGroupInfo()build()Builds the configured instance.clientAuthentication(IResolvable clientAuthentication) Sets the value ofCfnClusterMixinProps.getClientAuthentication()clientAuthentication(CfnClusterPropsMixin.ClientAuthenticationProperty clientAuthentication) Sets the value ofCfnClusterMixinProps.getClientAuthentication()clusterName(String clusterName) Sets the value ofCfnClusterMixinProps.getClusterName()configurationInfo(IResolvable configurationInfo) Sets the value ofCfnClusterMixinProps.getConfigurationInfo()configurationInfo(CfnClusterPropsMixin.ConfigurationInfoProperty configurationInfo) Sets the value ofCfnClusterMixinProps.getConfigurationInfo()currentVersion(String currentVersion) Sets the value ofCfnClusterMixinProps.getCurrentVersion()encryptionInfo(IResolvable encryptionInfo) Sets the value ofCfnClusterMixinProps.getEncryptionInfo()encryptionInfo(CfnClusterPropsMixin.EncryptionInfoProperty encryptionInfo) Sets the value ofCfnClusterMixinProps.getEncryptionInfo()enhancedMonitoring(String enhancedMonitoring) Sets the value ofCfnClusterMixinProps.getEnhancedMonitoring()kafkaVersion(String kafkaVersion) Sets the value ofCfnClusterMixinProps.getKafkaVersion()loggingInfo(IResolvable loggingInfo) Sets the value ofCfnClusterMixinProps.getLoggingInfo()loggingInfo(CfnClusterPropsMixin.LoggingInfoProperty loggingInfo) Sets the value ofCfnClusterMixinProps.getLoggingInfo()numberOfBrokerNodes(Number numberOfBrokerNodes) Sets the value ofCfnClusterMixinProps.getNumberOfBrokerNodes()openMonitoring(IResolvable openMonitoring) Sets the value ofCfnClusterMixinProps.getOpenMonitoring()openMonitoring(CfnClusterPropsMixin.OpenMonitoringProperty openMonitoring) Sets the value ofCfnClusterMixinProps.getOpenMonitoring()rebalancing(IResolvable rebalancing) Sets the value ofCfnClusterMixinProps.getRebalancing()rebalancing(CfnClusterPropsMixin.RebalancingProperty rebalancing) Sets the value ofCfnClusterMixinProps.getRebalancing()storageMode(String storageMode) Sets the value ofCfnClusterMixinProps.getStorageMode()Sets the value ofCfnClusterMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
brokerNodeGroupInfo
@Stability(Stable) public CfnClusterMixinProps.Builder brokerNodeGroupInfo(IResolvable brokerNodeGroupInfo) Sets the value ofCfnClusterMixinProps.getBrokerNodeGroupInfo()- Parameters:
brokerNodeGroupInfo- Information about the broker nodes in the cluster.- Returns:
this
-
brokerNodeGroupInfo
@Stability(Stable) public CfnClusterMixinProps.Builder brokerNodeGroupInfo(CfnClusterPropsMixin.BrokerNodeGroupInfoProperty brokerNodeGroupInfo) Sets the value ofCfnClusterMixinProps.getBrokerNodeGroupInfo()- Parameters:
brokerNodeGroupInfo- Information about the broker nodes in the cluster.- Returns:
this
-
clientAuthentication
@Stability(Stable) public CfnClusterMixinProps.Builder clientAuthentication(IResolvable clientAuthentication) Sets the value ofCfnClusterMixinProps.getClientAuthentication()- Parameters:
clientAuthentication- Includes all client authentication related information.- Returns:
this
-
clientAuthentication
@Stability(Stable) public CfnClusterMixinProps.Builder clientAuthentication(CfnClusterPropsMixin.ClientAuthenticationProperty clientAuthentication) Sets the value ofCfnClusterMixinProps.getClientAuthentication()- Parameters:
clientAuthentication- Includes all client authentication related information.- Returns:
this
-
clusterName
Sets the value ofCfnClusterMixinProps.getClusterName()- Parameters:
clusterName- The name of the cluster.- Returns:
this
-
configurationInfo
@Stability(Stable) public CfnClusterMixinProps.Builder configurationInfo(IResolvable configurationInfo) Sets the value ofCfnClusterMixinProps.getConfigurationInfo()- Parameters:
configurationInfo- Represents the configuration that you want MSK to use for the cluster.- Returns:
this
-
configurationInfo
@Stability(Stable) public CfnClusterMixinProps.Builder configurationInfo(CfnClusterPropsMixin.ConfigurationInfoProperty configurationInfo) Sets the value ofCfnClusterMixinProps.getConfigurationInfo()- Parameters:
configurationInfo- Represents the configuration that you want MSK to use for the cluster.- Returns:
this
-
currentVersion
Sets the value ofCfnClusterMixinProps.getCurrentVersion()- Parameters:
currentVersion- the value to be set.- Returns:
this
-
encryptionInfo
Sets the value ofCfnClusterMixinProps.getEncryptionInfo()- Parameters:
encryptionInfo- Includes all encryption-related information.- Returns:
this
-
encryptionInfo
@Stability(Stable) public CfnClusterMixinProps.Builder encryptionInfo(CfnClusterPropsMixin.EncryptionInfoProperty encryptionInfo) Sets the value ofCfnClusterMixinProps.getEncryptionInfo()- Parameters:
encryptionInfo- Includes all encryption-related information.- Returns:
this
-
enhancedMonitoring
@Stability(Stable) public CfnClusterMixinProps.Builder enhancedMonitoring(String enhancedMonitoring) Sets the value ofCfnClusterMixinProps.getEnhancedMonitoring()- Parameters:
enhancedMonitoring- Specifies the level of monitoring for the MSK cluster.- Returns:
this
-
kafkaVersion
Sets the value ofCfnClusterMixinProps.getKafkaVersion()- Parameters:
kafkaVersion- The version of Apache Kafka. You can use Amazon MSK to create clusters that use supported Apache Kafka versions .- Returns:
this
-
loggingInfo
Sets the value ofCfnClusterMixinProps.getLoggingInfo()- Parameters:
loggingInfo- Logging info details for the cluster.- Returns:
this
-
loggingInfo
@Stability(Stable) public CfnClusterMixinProps.Builder loggingInfo(CfnClusterPropsMixin.LoggingInfoProperty loggingInfo) Sets the value ofCfnClusterMixinProps.getLoggingInfo()- Parameters:
loggingInfo- Logging info details for the cluster.- Returns:
this
-
numberOfBrokerNodes
@Stability(Stable) public CfnClusterMixinProps.Builder numberOfBrokerNodes(Number numberOfBrokerNodes) Sets the value ofCfnClusterMixinProps.getNumberOfBrokerNodes()- Parameters:
numberOfBrokerNodes- The number of broker nodes in the cluster.- Returns:
this
-
openMonitoring
Sets the value ofCfnClusterMixinProps.getOpenMonitoring()- Parameters:
openMonitoring- The settings for open monitoring.- Returns:
this
-
openMonitoring
@Stability(Stable) public CfnClusterMixinProps.Builder openMonitoring(CfnClusterPropsMixin.OpenMonitoringProperty openMonitoring) Sets the value ofCfnClusterMixinProps.getOpenMonitoring()- Parameters:
openMonitoring- The settings for open monitoring.- Returns:
this
-
rebalancing
Sets the value ofCfnClusterMixinProps.getRebalancing()- Parameters:
rebalancing- the value to be set.- Returns:
this
-
rebalancing
@Stability(Stable) public CfnClusterMixinProps.Builder rebalancing(CfnClusterPropsMixin.RebalancingProperty rebalancing) Sets the value ofCfnClusterMixinProps.getRebalancing()- Parameters:
rebalancing- the value to be set.- Returns:
this
-
storageMode
Sets the value ofCfnClusterMixinProps.getStorageMode()- Parameters:
storageMode- This controls storage mode for supported storage tiers.- Returns:
this
-
tags
Sets the value ofCfnClusterMixinProps.getTags()- Parameters:
tags- An arbitrary set of tags (key-value pairs) for the cluster.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClusterMixinProps>- Returns:
- a new instance of
CfnClusterMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-