Interface CreateClusterRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateClusterRequest.Builder,
,CreateClusterRequest> KafkaRequest.Builder
,SdkBuilder<CreateClusterRequest.Builder,
,CreateClusterRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateClusterRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateClusterRequest.Builder
brokerNodeGroupInfo
(Consumer<BrokerNodeGroupInfo.Builder> brokerNodeGroupInfo) Information about the broker nodes in the cluster.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.clientAuthentication
(ClientAuthentication clientAuthentication) Includes all client authentication related information.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.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.encryptionInfo
(EncryptionInfo encryptionInfo) Includes all encryption-related information.enhancedMonitoring
(String enhancedMonitoring) Specifies the level of monitoring for the MSK cluster.enhancedMonitoring
(EnhancedMonitoring enhancedMonitoring) Specifies the level of monitoring for the MSK cluster.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.loggingInfo
(LoggingInfo loggingInfo) Sets the value of the LoggingInfo property for this object.numberOfBrokerNodes
(Integer numberOfBrokerNodes) The number of broker nodes in the cluster.default CreateClusterRequest.Builder
openMonitoring
(Consumer<OpenMonitoringInfo.Builder> openMonitoring) The settings for open monitoring.openMonitoring
(OpenMonitoringInfo openMonitoring) The settings for open monitoring.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.storageMode
(String storageMode) This controls storage mode for supported storage tiers.storageMode
(StorageMode storageMode) This controls storage mode for supported storage tiers.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 Details
-
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:
-
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:
-
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
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:
-
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:
-
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
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:
-
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:
-
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
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
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:
-
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
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
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
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:
-
overrideConfiguration
CreateClusterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateClusterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-