Class CfnCluster.Builder
java.lang.Object
software.amazon.awscdk.services.msk.CfnCluster.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCluster>
- Enclosing class:
CfnCluster
@Stability(Stable)
public static final class CfnCluster.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCluster>
A fluent builder for
CfnCluster
.-
Method Summary
Modifier and TypeMethodDescriptionbrokerNodeGroupInfo
(IResolvable brokerNodeGroupInfo) Information about the broker nodes in the cluster.brokerNodeGroupInfo
(CfnCluster.BrokerNodeGroupInfoProperty brokerNodeGroupInfo) Information about the broker nodes in the cluster.build()
clientAuthentication
(IResolvable clientAuthentication) Includes all client authentication related information.clientAuthentication
(CfnCluster.ClientAuthenticationProperty clientAuthentication) Includes all client authentication related information.clusterName
(String clusterName) The name of the cluster.configurationInfo
(IResolvable configurationInfo) Represents the configuration that you want MSK to use for the cluster.configurationInfo
(CfnCluster.ConfigurationInfoProperty configurationInfo) Represents the configuration that you want MSK to use for the cluster.static CfnCluster.Builder
currentVersion
(String currentVersion) The version of the cluster that you want to update.encryptionInfo
(IResolvable encryptionInfo) Includes all encryption-related information.encryptionInfo
(CfnCluster.EncryptionInfoProperty encryptionInfo) Includes all encryption-related information.enhancedMonitoring
(String enhancedMonitoring) Specifies the level of monitoring for the MSK cluster.kafkaVersion
(String kafkaVersion) The version of Apache Kafka.loggingInfo
(IResolvable loggingInfo) Logging Info details.loggingInfo
(CfnCluster.LoggingInfoProperty loggingInfo) Logging Info details.numberOfBrokerNodes
(Number numberOfBrokerNodes) The number of broker nodes in the cluster.openMonitoring
(IResolvable openMonitoring) The settings for open monitoring.openMonitoring
(CfnCluster.OpenMonitoringProperty openMonitoring) The settings for open monitoring.storageMode
(String storageMode) This controls storage mode for supported storage tiers.Create tags when creating the cluster.
-
Method Details
-
create
@Stability(Stable) public static CfnCluster.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnCluster.Builder
.
-
brokerNodeGroupInfo
Information about the broker nodes in the cluster.- Parameters:
brokerNodeGroupInfo
- Information about the broker nodes in the cluster. This parameter is required.- Returns:
this
- See Also:
-
brokerNodeGroupInfo
@Stability(Stable) public CfnCluster.Builder brokerNodeGroupInfo(CfnCluster.BrokerNodeGroupInfoProperty brokerNodeGroupInfo) Information about the broker nodes in the cluster.- Parameters:
brokerNodeGroupInfo
- Information about the broker nodes in the cluster. This parameter is required.- Returns:
this
- See Also:
-
clusterName
The name of the cluster.- Parameters:
clusterName
- The name of the cluster. This parameter is required.- Returns:
this
- See Also:
-
kafkaVersion
The version of Apache Kafka.You can use Amazon MSK to create clusters that use Apache Kafka versions 1.1.1 and 2.2.1.
- Parameters:
kafkaVersion
- The version of Apache Kafka. This parameter is required.- Returns:
this
- See Also:
-
numberOfBrokerNodes
The number of broker nodes in the cluster.- Parameters:
numberOfBrokerNodes
- The number of broker nodes in the cluster. This parameter is required.- Returns:
this
- See Also:
-
clientAuthentication
Includes all client authentication related information.- Parameters:
clientAuthentication
- Includes all client authentication related information. This parameter is required.- Returns:
this
- See Also:
-
clientAuthentication
@Stability(Stable) public CfnCluster.Builder clientAuthentication(CfnCluster.ClientAuthenticationProperty clientAuthentication) Includes all client authentication related information.- Parameters:
clientAuthentication
- Includes all client authentication related information. This parameter is required.- Returns:
this
- See Also:
-
configurationInfo
Represents the configuration that you want MSK to use for the cluster.- Parameters:
configurationInfo
- Represents the configuration that you want MSK to use for the cluster. This parameter is required.- Returns:
this
- See Also:
-
configurationInfo
@Stability(Stable) public CfnCluster.Builder configurationInfo(CfnCluster.ConfigurationInfoProperty configurationInfo) Represents the configuration that you want MSK to use for the cluster.- Parameters:
configurationInfo
- Represents the configuration that you want MSK to use for the cluster. This parameter is required.- Returns:
this
- See Also:
-
currentVersion
The version of the cluster that you want to update.- Parameters:
currentVersion
- The version of the cluster that you want to update. This parameter is required.- Returns:
this
- See Also:
-
encryptionInfo
Includes all encryption-related information.- Parameters:
encryptionInfo
- Includes all encryption-related information. This parameter is required.- Returns:
this
- See Also:
-
encryptionInfo
@Stability(Stable) public CfnCluster.Builder encryptionInfo(CfnCluster.EncryptionInfoProperty encryptionInfo) Includes all encryption-related information.- Parameters:
encryptionInfo
- Includes all encryption-related information. This parameter is required.- Returns:
this
- See Also:
-
enhancedMonitoring
Specifies the level of monitoring for the MSK cluster.The possible values are
DEFAULT
,PER_BROKER
, andPER_TOPIC_PER_BROKER
.- Parameters:
enhancedMonitoring
- Specifies the level of monitoring for the MSK cluster. This parameter is required.- Returns:
this
- See Also:
-
loggingInfo
Logging Info details.- Parameters:
loggingInfo
- Logging Info details. This parameter is required.- Returns:
this
- See Also:
-
loggingInfo
@Stability(Stable) public CfnCluster.Builder loggingInfo(CfnCluster.LoggingInfoProperty loggingInfo) Logging Info details.- Parameters:
loggingInfo
- Logging Info details. This parameter is required.- Returns:
this
- See Also:
-
openMonitoring
The settings for open monitoring.- Parameters:
openMonitoring
- The settings for open monitoring. This parameter is required.- Returns:
this
- See Also:
-
openMonitoring
@Stability(Stable) public CfnCluster.Builder openMonitoring(CfnCluster.OpenMonitoringProperty openMonitoring) The settings for open monitoring.- Parameters:
openMonitoring
- The settings for open monitoring. This parameter is required.- Returns:
this
- See Also:
-
storageMode
This controls storage mode for supported storage tiers.- Parameters:
storageMode
- This controls storage mode for supported storage tiers. This parameter is required.- Returns:
this
- See Also:
-
tags
Create tags when creating the cluster.- Parameters:
tags
- Create tags when creating the cluster. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCluster>
- Returns:
- a newly built instance of
CfnCluster
.
-