Interface CreateClusterRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateClusterRequest.Builder,CreateClusterRequest>
,KafkaRequest.Builder
,SdkBuilder<CreateClusterRequest.Builder,CreateClusterRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- CreateClusterRequest
public static interface CreateClusterRequest.Builder extends KafkaRequest.Builder, SdkPojo, CopyableBuilder<CreateClusterRequest.Builder,CreateClusterRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateClusterRequest.Builder
brokerNodeGroupInfo(Consumer<BrokerNodeGroupInfo.Builder> brokerNodeGroupInfo)
Information about the broker nodes in the cluster.CreateClusterRequest.Builder
brokerNodeGroupInfo(BrokerNodeGroupInfo brokerNodeGroupInfo)
Information about the broker nodes in the cluster.default CreateClusterRequest.Builder
clientAuthentication(Consumer<ClientAuthentication.Builder> clientAuthentication)
Includes all client authentication related information.CreateClusterRequest.Builder
clientAuthentication(ClientAuthentication clientAuthentication)
Includes all client authentication related information.CreateClusterRequest.Builder
clusterName(String clusterName)
The name of the cluster.default CreateClusterRequest.Builder
configurationInfo(Consumer<ConfigurationInfo.Builder> configurationInfo)
Represents the configuration that you want MSK to use for the brokers in a cluster.CreateClusterRequest.Builder
configurationInfo(ConfigurationInfo configurationInfo)
Represents the configuration that you want MSK to use for the brokers in a cluster.default CreateClusterRequest.Builder
encryptionInfo(Consumer<EncryptionInfo.Builder> encryptionInfo)
Includes all encryption-related information.CreateClusterRequest.Builder
encryptionInfo(EncryptionInfo encryptionInfo)
Includes all encryption-related information.CreateClusterRequest.Builder
enhancedMonitoring(String enhancedMonitoring)
Specifies the level of monitoring for the MSK cluster.CreateClusterRequest.Builder
enhancedMonitoring(EnhancedMonitoring enhancedMonitoring)
Specifies the level of monitoring for the MSK cluster.CreateClusterRequest.Builder
kafkaVersion(String kafkaVersion)
The version of Apache Kafka.default CreateClusterRequest.Builder
loggingInfo(Consumer<LoggingInfo.Builder> loggingInfo)
Sets the value of the LoggingInfo property for this object.CreateClusterRequest.Builder
loggingInfo(LoggingInfo loggingInfo)
Sets the value of the LoggingInfo property for this object.CreateClusterRequest.Builder
numberOfBrokerNodes(Integer numberOfBrokerNodes)
The number of broker nodes in the cluster.default CreateClusterRequest.Builder
openMonitoring(Consumer<OpenMonitoringInfo.Builder> openMonitoring)
The settings for open monitoring.CreateClusterRequest.Builder
openMonitoring(OpenMonitoringInfo openMonitoring)
The settings for open monitoring.CreateClusterRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
CreateClusterRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
CreateClusterRequest.Builder
storageMode(String storageMode)
This controls storage mode for supported storage tiers.CreateClusterRequest.Builder
storageMode(StorageMode storageMode)
This controls storage mode for supported storage tiers.CreateClusterRequest.Builder
tags(Map<String,String> tags)
Create tags when creating the cluster.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.kafka.model.KafkaRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
brokerNodeGroupInfo
CreateClusterRequest.Builder brokerNodeGroupInfo(BrokerNodeGroupInfo brokerNodeGroupInfo)
Information about the broker nodes in the cluster.
- Parameters:
brokerNodeGroupInfo
-Information about the broker nodes in the cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
brokerNodeGroupInfo
default CreateClusterRequest.Builder brokerNodeGroupInfo(Consumer<BrokerNodeGroupInfo.Builder> brokerNodeGroupInfo)
Information about the broker nodes in the cluster.
This is a convenience method that creates an instance of theBrokerNodeGroupInfo.Builder
avoiding the need to create one manually viaBrokerNodeGroupInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobrokerNodeGroupInfo(BrokerNodeGroupInfo)
.- Parameters:
brokerNodeGroupInfo
- a consumer that will call methods onBrokerNodeGroupInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
brokerNodeGroupInfo(BrokerNodeGroupInfo)
-
clientAuthentication
CreateClusterRequest.Builder clientAuthentication(ClientAuthentication clientAuthentication)
Includes all client authentication related information.
- Parameters:
clientAuthentication
-Includes all client authentication related information.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientAuthentication
default CreateClusterRequest.Builder clientAuthentication(Consumer<ClientAuthentication.Builder> clientAuthentication)
Includes all client authentication related information.
This is a convenience method that creates an instance of theClientAuthentication.Builder
avoiding the need to create one manually viaClientAuthentication.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toclientAuthentication(ClientAuthentication)
.- Parameters:
clientAuthentication
- a consumer that will call methods onClientAuthentication.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
clientAuthentication(ClientAuthentication)
-
clusterName
CreateClusterRequest.Builder clusterName(String clusterName)
The name of the cluster.
- Parameters:
clusterName
-The name of the cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationInfo
CreateClusterRequest.Builder configurationInfo(ConfigurationInfo configurationInfo)
Represents the configuration that you want MSK to use for the brokers in a cluster.
- Parameters:
configurationInfo
-Represents the configuration that you want MSK to use for the brokers in a cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationInfo
default CreateClusterRequest.Builder configurationInfo(Consumer<ConfigurationInfo.Builder> configurationInfo)
Represents the configuration that you want MSK to use for the brokers in a cluster.
This is a convenience method that creates an instance of theConfigurationInfo.Builder
avoiding the need to create one manually viaConfigurationInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfigurationInfo(ConfigurationInfo)
.- Parameters:
configurationInfo
- a consumer that will call methods onConfigurationInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
configurationInfo(ConfigurationInfo)
-
encryptionInfo
CreateClusterRequest.Builder encryptionInfo(EncryptionInfo encryptionInfo)
Includes all encryption-related information.
- Parameters:
encryptionInfo
-Includes all encryption-related information.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionInfo
default CreateClusterRequest.Builder encryptionInfo(Consumer<EncryptionInfo.Builder> encryptionInfo)
Includes all encryption-related information.
This is a convenience method that creates an instance of theEncryptionInfo.Builder
avoiding the need to create one manually viaEncryptionInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toencryptionInfo(EncryptionInfo)
.- Parameters:
encryptionInfo
- a consumer that will call methods onEncryptionInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
encryptionInfo(EncryptionInfo)
-
enhancedMonitoring
CreateClusterRequest.Builder enhancedMonitoring(String enhancedMonitoring)
Specifies the level of monitoring for the MSK cluster. The possible values are DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, and PER_TOPIC_PER_PARTITION.
- Parameters:
enhancedMonitoring
-Specifies the level of monitoring for the MSK cluster. The possible values are DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, and PER_TOPIC_PER_PARTITION.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EnhancedMonitoring
,EnhancedMonitoring
-
enhancedMonitoring
CreateClusterRequest.Builder enhancedMonitoring(EnhancedMonitoring enhancedMonitoring)
Specifies the level of monitoring for the MSK cluster. The possible values are DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, and PER_TOPIC_PER_PARTITION.
- Parameters:
enhancedMonitoring
-Specifies the level of monitoring for the MSK cluster. The possible values are DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, and PER_TOPIC_PER_PARTITION.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EnhancedMonitoring
,EnhancedMonitoring
-
openMonitoring
CreateClusterRequest.Builder openMonitoring(OpenMonitoringInfo openMonitoring)
The settings for open monitoring.
- Parameters:
openMonitoring
-The settings for open monitoring.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
openMonitoring
default CreateClusterRequest.Builder openMonitoring(Consumer<OpenMonitoringInfo.Builder> openMonitoring)
The settings for open monitoring.
This is a convenience method that creates an instance of theOpenMonitoringInfo.Builder
avoiding the need to create one manually viaOpenMonitoringInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toopenMonitoring(OpenMonitoringInfo)
.- Parameters:
openMonitoring
- a consumer that will call methods onOpenMonitoringInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
openMonitoring(OpenMonitoringInfo)
-
kafkaVersion
CreateClusterRequest.Builder kafkaVersion(String kafkaVersion)
The version of Apache Kafka.
- Parameters:
kafkaVersion
-The version of Apache Kafka.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingInfo
CreateClusterRequest.Builder loggingInfo(LoggingInfo loggingInfo)
Sets the value of the LoggingInfo property for this object.- Parameters:
loggingInfo
- The new value for the LoggingInfo property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingInfo
default CreateClusterRequest.Builder loggingInfo(Consumer<LoggingInfo.Builder> loggingInfo)
Sets the value of the LoggingInfo property for this object. This is a convenience method that creates an instance of theLoggingInfo.Builder
avoiding the need to create one manually viaLoggingInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologgingInfo(LoggingInfo)
.- Parameters:
loggingInfo
- a consumer that will call methods onLoggingInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
loggingInfo(LoggingInfo)
-
numberOfBrokerNodes
CreateClusterRequest.Builder numberOfBrokerNodes(Integer numberOfBrokerNodes)
The number of broker nodes in the cluster.
- Parameters:
numberOfBrokerNodes
-The number of broker nodes in the cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateClusterRequest.Builder tags(Map<String,String> tags)
Create tags when creating the cluster.
- Parameters:
tags
-Create tags when creating the cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageMode
CreateClusterRequest.Builder storageMode(String storageMode)
This controls storage mode for supported storage tiers.
- Parameters:
storageMode
-This controls storage mode for supported storage tiers.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StorageMode
,StorageMode
-
storageMode
CreateClusterRequest.Builder storageMode(StorageMode storageMode)
This controls storage mode for supported storage tiers.
- Parameters:
storageMode
-This controls storage mode for supported storage tiers.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StorageMode
,StorageMode
-
overrideConfiguration
CreateClusterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateClusterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-