Interface MutableClusterInfo.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MutableClusterInfo.Builder,
,MutableClusterInfo> SdkBuilder<MutableClusterInfo.Builder,
,MutableClusterInfo> SdkPojo
- Enclosing class:
MutableClusterInfo
-
Method Summary
Modifier and TypeMethodDescriptiondefault MutableClusterInfo.Builder
brokerCountUpdateInfo
(Consumer<BrokerCountUpdateInfo.Builder> brokerCountUpdateInfo) Describes brokers being changed during a broker count update.brokerCountUpdateInfo
(BrokerCountUpdateInfo brokerCountUpdateInfo) Describes brokers being changed during a broker count update.brokerEBSVolumeInfo
(Collection<BrokerEBSVolumeInfo> brokerEBSVolumeInfo) Specifies the size of the EBS volume and the ID of the associated broker.brokerEBSVolumeInfo
(Consumer<BrokerEBSVolumeInfo.Builder>... brokerEBSVolumeInfo) Specifies the size of the EBS volume and the ID of the associated broker.brokerEBSVolumeInfo
(BrokerEBSVolumeInfo... brokerEBSVolumeInfo) Specifies the size of the EBS volume and the ID of the associated broker.default MutableClusterInfo.Builder
clientAuthentication
(Consumer<ClientAuthentication.Builder> clientAuthentication) Includes all client authentication information.clientAuthentication
(ClientAuthentication clientAuthentication) Includes all client authentication information.default MutableClusterInfo.Builder
configurationInfo
(Consumer<ConfigurationInfo.Builder> configurationInfo) Information about the changes in the configuration of the brokers.configurationInfo
(ConfigurationInfo configurationInfo) Information about the changes in the configuration of the brokers.default MutableClusterInfo.Builder
connectivityInfo
(Consumer<ConnectivityInfo.Builder> connectivityInfo) Information about the broker access configuration.connectivityInfo
(ConnectivityInfo connectivityInfo) Information about the broker access configuration.default MutableClusterInfo.Builder
encryptionInfo
(Consumer<EncryptionInfo.Builder> encryptionInfo) Includes all encryption-related information.encryptionInfo
(EncryptionInfo encryptionInfo) Includes all encryption-related information.enhancedMonitoring
(String enhancedMonitoring) Specifies which Apache Kafka metrics Amazon MSK gathers and sends to Amazon CloudWatch for this cluster.enhancedMonitoring
(EnhancedMonitoring enhancedMonitoring) Specifies which Apache Kafka metrics Amazon MSK gathers and sends to Amazon CloudWatch for this cluster.instanceType
(String instanceType) Information about the Amazon MSK broker type.kafkaVersion
(String kafkaVersion) The Apache Kafka version.default MutableClusterInfo.Builder
loggingInfo
(Consumer<LoggingInfo.Builder> loggingInfo) You can configure your MSK cluster to send broker logs to different destination types.loggingInfo
(LoggingInfo loggingInfo) You can configure your MSK cluster to send broker logs to different destination types.numberOfBrokerNodes
(Integer numberOfBrokerNodes) The number of broker nodes in the cluster.default MutableClusterInfo.Builder
openMonitoring
(Consumer<OpenMonitoring.Builder> openMonitoring) The settings for open monitoring.openMonitoring
(OpenMonitoring openMonitoring) The settings for open monitoring.storageMode
(String storageMode) This controls storage mode for supported storage tiers.storageMode
(StorageMode storageMode) This controls storage mode for supported storage tiers.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
brokerEBSVolumeInfo
Specifies the size of the EBS volume and the ID of the associated broker.
- Parameters:
brokerEBSVolumeInfo
-Specifies the size of the EBS volume and the ID of the associated broker.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
brokerEBSVolumeInfo
Specifies the size of the EBS volume and the ID of the associated broker.
- Parameters:
brokerEBSVolumeInfo
-Specifies the size of the EBS volume and the ID of the associated broker.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
brokerEBSVolumeInfo
MutableClusterInfo.Builder brokerEBSVolumeInfo(Consumer<BrokerEBSVolumeInfo.Builder>... brokerEBSVolumeInfo) Specifies the size of the EBS volume and the ID of the associated broker.
This is a convenience method that creates an instance of theBrokerEBSVolumeInfo.Builder
avoiding the need to create one manually viaBrokerEBSVolumeInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobrokerEBSVolumeInfo(List<BrokerEBSVolumeInfo>)
.- Parameters:
brokerEBSVolumeInfo
- a consumer that will call methods onBrokerEBSVolumeInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
configurationInfo
Information about the changes in the configuration of the brokers.
- Parameters:
configurationInfo
-Information about the changes in the configuration of the brokers.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationInfo
default MutableClusterInfo.Builder configurationInfo(Consumer<ConfigurationInfo.Builder> configurationInfo) Information about the changes in the configuration of the brokers.
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:
-
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.
-
enhancedMonitoring
Specifies which Apache Kafka metrics Amazon MSK gathers and sends to Amazon CloudWatch for this cluster.
- Parameters:
enhancedMonitoring
-Specifies which Apache Kafka metrics Amazon MSK gathers and sends to Amazon CloudWatch for this cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
enhancedMonitoring
Specifies which Apache Kafka metrics Amazon MSK gathers and sends to Amazon CloudWatch for this cluster.
- Parameters:
enhancedMonitoring
-Specifies which Apache Kafka metrics Amazon MSK gathers and sends to Amazon CloudWatch for this cluster.
- 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
The settings for open monitoring.
This is a convenience method that creates an instance of theOpenMonitoring.Builder
avoiding the need to create one manually viaOpenMonitoring.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toopenMonitoring(OpenMonitoring)
.- Parameters:
openMonitoring
- a consumer that will call methods onOpenMonitoring.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kafkaVersion
The Apache Kafka version.
- Parameters:
kafkaVersion
-The Apache Kafka version.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingInfo
You can configure your MSK cluster to send broker logs to different destination types. This is a container for the configuration details related to broker logs.
- Parameters:
loggingInfo
-You can configure your MSK cluster to send broker logs to different destination types. This is a container for the configuration details related to broker logs.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingInfo
You can configure your MSK cluster to send broker logs to different destination types. This is a container for the configuration details related to broker logs.
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:
-
instanceType
Information about the Amazon MSK broker type.
- Parameters:
instanceType
-Information about the Amazon MSK broker type.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientAuthentication
Includes all client authentication information.
- Parameters:
clientAuthentication
-Includes all client authentication information.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientAuthentication
default MutableClusterInfo.Builder clientAuthentication(Consumer<ClientAuthentication.Builder> clientAuthentication) Includes all client authentication 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:
-
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
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:
-
connectivityInfo
Information about the broker access configuration.
- Parameters:
connectivityInfo
-Information about the broker access configuration.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectivityInfo
default MutableClusterInfo.Builder connectivityInfo(Consumer<ConnectivityInfo.Builder> connectivityInfo) Information about the broker access configuration.
This is a convenience method that creates an instance of theConnectivityInfo.Builder
avoiding the need to create one manually viaConnectivityInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconnectivityInfo(ConnectivityInfo)
.- Parameters:
connectivityInfo
- a consumer that will call methods onConnectivityInfo.Builder
- 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:
-
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:
-
brokerCountUpdateInfo
Describes brokers being changed during a broker count update.
- Parameters:
brokerCountUpdateInfo
-Describes brokers being changed during a broker count update.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
brokerCountUpdateInfo
default MutableClusterInfo.Builder brokerCountUpdateInfo(Consumer<BrokerCountUpdateInfo.Builder> brokerCountUpdateInfo) Describes brokers being changed during a broker count update.
This is a convenience method that creates an instance of theBrokerCountUpdateInfo.Builder
avoiding the need to create one manually viaBrokerCountUpdateInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobrokerCountUpdateInfo(BrokerCountUpdateInfo)
.- Parameters:
brokerCountUpdateInfo
- a consumer that will call methods onBrokerCountUpdateInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-