public static final class CfnCluster.Builder
extends java.lang.Object
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(java.lang.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,
java.lang.String id) |
CfnCluster.Builder |
currentVersion(java.lang.String currentVersion)
The version of the cluster that you want to update.
|
CfnCluster.Builder |
encryptionInfo(CfnCluster.EncryptionInfoProperty encryptionInfo)
Includes all encryption-related information.
|
CfnCluster.Builder |
encryptionInfo(IResolvable encryptionInfo)
Includes all encryption-related information.
|
CfnCluster.Builder |
enhancedMonitoring(java.lang.String enhancedMonitoring)
Specifies the level of monitoring for the MSK cluster.
|
CfnCluster.Builder |
kafkaVersion(java.lang.String kafkaVersion)
The version of Apache Kafka.
|
CfnCluster.Builder |
loggingInfo(CfnCluster.LoggingInfoProperty loggingInfo)
You can configure your Amazon MSK cluster to send broker logs to different destination types.
|
CfnCluster.Builder |
loggingInfo(IResolvable loggingInfo)
You can configure your Amazon MSK cluster to send broker logs to different destination types.
|
CfnCluster.Builder |
numberOfBrokerNodes(java.lang.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(java.util.Map<java.lang.String,java.lang.String> tags)
A map of key:value pairs to apply to this resource.
|
public static CfnCluster.Builder create(Construct scope, java.lang.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
.public CfnCluster.Builder brokerNodeGroupInfo(CfnCluster.BrokerNodeGroupInfoProperty brokerNodeGroupInfo)
AWS CloudFormation may replace the cluster when you update certain BrokerNodeGroupInfo
properties. To understand the update behavior for your use case, you should review the child properties for BrokerNodeGroupInfo
.
brokerNodeGroupInfo
- The setup to be used for brokers in the cluster. This parameter is required.this
public CfnCluster.Builder brokerNodeGroupInfo(IResolvable brokerNodeGroupInfo)
AWS CloudFormation may replace the cluster when you update certain BrokerNodeGroupInfo
properties. To understand the update behavior for your use case, you should review the child properties for BrokerNodeGroupInfo
.
brokerNodeGroupInfo
- The setup to be used for brokers in the cluster. This parameter is required.this
public CfnCluster.Builder clusterName(java.lang.String clusterName)
clusterName
- The name of the cluster. This parameter is required.this
public CfnCluster.Builder kafkaVersion(java.lang.String kafkaVersion)
For more information, see Supported Apache Kafka versions in the Amazon MSK Developer Guide.
kafkaVersion
- The version of Apache Kafka. This parameter is required.this
public CfnCluster.Builder numberOfBrokerNodes(java.lang.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
public CfnCluster.Builder clientAuthentication(IResolvable clientAuthentication)
clientAuthentication
- Includes information related to client authentication. This parameter is required.this
public CfnCluster.Builder clientAuthentication(CfnCluster.ClientAuthenticationProperty clientAuthentication)
clientAuthentication
- Includes information related to client authentication. This parameter is required.this
public CfnCluster.Builder configurationInfo(IResolvable configurationInfo)
configurationInfo
- The Amazon MSK configuration to use for the cluster. This parameter is required.this
public CfnCluster.Builder configurationInfo(CfnCluster.ConfigurationInfoProperty configurationInfo)
configurationInfo
- The Amazon MSK configuration to use for the cluster. This parameter is required.this
public CfnCluster.Builder currentVersion(java.lang.String currentVersion)
currentVersion
- The version of the cluster that you want to update. This parameter is required.this
public CfnCluster.Builder encryptionInfo(IResolvable encryptionInfo)
encryptionInfo
- Includes all encryption-related information. This parameter is required.this
public CfnCluster.Builder encryptionInfo(CfnCluster.EncryptionInfoProperty encryptionInfo)
encryptionInfo
- Includes all encryption-related information. This parameter is required.this
public CfnCluster.Builder enhancedMonitoring(java.lang.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
public CfnCluster.Builder loggingInfo(IResolvable loggingInfo)
This is a container for the configuration details related to broker logs.
loggingInfo
- You can configure your Amazon MSK cluster to send broker logs to different destination types. This parameter is required.this
public CfnCluster.Builder loggingInfo(CfnCluster.LoggingInfoProperty loggingInfo)
This is a container for the configuration details related to broker logs.
loggingInfo
- You can configure your Amazon MSK cluster to send broker logs to different destination types. This parameter is required.this
public CfnCluster.Builder openMonitoring(IResolvable openMonitoring)
openMonitoring
- The settings for open monitoring. This parameter is required.this
public CfnCluster.Builder openMonitoring(CfnCluster.OpenMonitoringProperty openMonitoring)
openMonitoring
- The settings for open monitoring. This parameter is required.this
public CfnCluster.Builder tags(java.util.Map<java.lang.String,java.lang.String> 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
public CfnCluster build()