@Stability(value=Stable) public static final class CfnCluster.Builder extends Object implements software.amazon.jsii.Builder<CfnCluster>
CfnCluster.| Modifier and Type | Method and Description |
|---|---|
CfnCluster.Builder |
brokerNodeGroupInfo(CfnCluster.BrokerNodeGroupInfoProperty brokerNodeGroupInfo)
The setup to be used for brokers in the cluster.
|
CfnCluster.Builder |
brokerNodeGroupInfo(IResolvable brokerNodeGroupInfo)
The setup to be used for brokers in the cluster.
|
CfnCluster |
build() |
CfnCluster.Builder |
clientAuthentication(CfnCluster.ClientAuthenticationProperty clientAuthentication)
Includes information related to client authentication.
|
CfnCluster.Builder |
clientAuthentication(IResolvable clientAuthentication)
Includes information related to client authentication.
|
CfnCluster.Builder |
clusterName(String clusterName)
The name of the cluster.
|
CfnCluster.Builder |
configurationInfo(CfnCluster.ConfigurationInfoProperty configurationInfo)
The Amazon MSK configuration to use for the cluster.
|
CfnCluster.Builder |
configurationInfo(IResolvable configurationInfo)
The Amazon MSK configuration to use for the cluster.
|
static CfnCluster.Builder |
create(Construct scope,
String id) |
CfnCluster.Builder |
encryptionInfo(CfnCluster.EncryptionInfoProperty encryptionInfo)
Includes all encryption-related information.
|
CfnCluster.Builder |
encryptionInfo(IResolvable encryptionInfo)
Includes all encryption-related information.
|
CfnCluster.Builder |
enhancedMonitoring(String enhancedMonitoring)
Specifies the level of monitoring for the MSK cluster.
|
CfnCluster.Builder |
kafkaVersion(String kafkaVersion)
The version of Apache Kafka.
|
CfnCluster.Builder |
loggingInfo(CfnCluster.LoggingInfoProperty loggingInfo)
You can configure your MSK cluster to send broker logs to different destination types.
|
CfnCluster.Builder |
loggingInfo(IResolvable loggingInfo)
You can configure your MSK cluster to send broker logs to different destination types.
|
CfnCluster.Builder |
numberOfBrokerNodes(Number numberOfBrokerNodes)
The number of broker nodes you want in the Amazon MSK cluster.
|
CfnCluster.Builder |
openMonitoring(CfnCluster.OpenMonitoringProperty openMonitoring)
The settings for open monitoring.
|
CfnCluster.Builder |
openMonitoring(IResolvable openMonitoring)
The settings for open monitoring.
|
CfnCluster.Builder |
tags(Object tags)
A map of key:value pairs to apply to this resource.
|
@Stability(value=Stable) public static CfnCluster.Builder create(Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnCluster.BrokerLogsProperty.Builder.@Stability(value=Stable) public CfnCluster.Builder brokerNodeGroupInfo(CfnCluster.BrokerNodeGroupInfoProperty brokerNodeGroupInfo)
brokerNodeGroupInfo - The setup to be used for brokers in the cluster. This parameter is required.this@Stability(value=Stable) public CfnCluster.Builder brokerNodeGroupInfo(IResolvable brokerNodeGroupInfo)
brokerNodeGroupInfo - The setup to be used for brokers in the cluster. This parameter is required.this@Stability(value=Stable) public CfnCluster.Builder clusterName(String clusterName)
clusterName - The name of the cluster. This parameter is required.this@Stability(value=Stable) public CfnCluster.Builder kafkaVersion(String kafkaVersion)
You can use Amazon MSK to create clusters that use Apache Kafka versions 1.1.1 and 2.2.1.
kafkaVersion - The version of Apache Kafka. This parameter is required.this@Stability(value=Stable) public CfnCluster.Builder numberOfBrokerNodes(Number numberOfBrokerNodes)
You can submit an update to increase the number of broker nodes in a cluster.
numberOfBrokerNodes - The number of broker nodes you want in the Amazon MSK cluster. This parameter is required.this@Stability(value=Stable) public CfnCluster.Builder clientAuthentication(CfnCluster.ClientAuthenticationProperty clientAuthentication)
clientAuthentication - Includes information related to client authentication. This parameter is required.this@Stability(value=Stable) public CfnCluster.Builder clientAuthentication(IResolvable clientAuthentication)
clientAuthentication - Includes information related to client authentication. This parameter is required.this@Stability(value=Stable) public CfnCluster.Builder configurationInfo(CfnCluster.ConfigurationInfoProperty configurationInfo)
configurationInfo - The Amazon MSK configuration to use for the cluster. This parameter is required.this@Stability(value=Stable) public CfnCluster.Builder configurationInfo(IResolvable configurationInfo)
configurationInfo - The Amazon MSK configuration to use for the cluster. This parameter is required.this@Stability(value=Stable) public CfnCluster.Builder encryptionInfo(CfnCluster.EncryptionInfoProperty encryptionInfo)
encryptionInfo - Includes all encryption-related information. This parameter is required.this@Stability(value=Stable) public CfnCluster.Builder encryptionInfo(IResolvable encryptionInfo)
encryptionInfo - Includes all encryption-related information. This parameter is required.this@Stability(value=Stable) public CfnCluster.Builder enhancedMonitoring(String enhancedMonitoring)
The possible values are DEFAULT , PER_BROKER , and PER_TOPIC_PER_BROKER .
enhancedMonitoring - Specifies the level of monitoring for the MSK cluster. This parameter is required.this@Stability(value=Stable) public CfnCluster.Builder loggingInfo(CfnCluster.LoggingInfoProperty loggingInfo)
This is a container for the configuration details related to broker logs.
loggingInfo - You can configure your MSK cluster to send broker logs to different destination types. This parameter is required.this@Stability(value=Stable) public CfnCluster.Builder loggingInfo(IResolvable loggingInfo)
This is a container for the configuration details related to broker logs.
loggingInfo - You can configure your MSK cluster to send broker logs to different destination types. This parameter is required.this@Stability(value=Stable) public CfnCluster.Builder openMonitoring(CfnCluster.OpenMonitoringProperty openMonitoring)
openMonitoring - The settings for open monitoring. This parameter is required.this@Stability(value=Stable) public CfnCluster.Builder openMonitoring(IResolvable openMonitoring)
openMonitoring - The settings for open monitoring. This parameter is required.this@Stability(value=Stable) public CfnCluster.Builder tags(Object tags)
Both key and value are of type String.
tags - A map of key:value pairs to apply to this resource. This parameter is required.this@Stability(value=Stable) public CfnCluster build()
build in interface software.amazon.jsii.Builder<CfnCluster>Copyright © 2022. All rights reserved.