Interface MutableClusterInfo.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<MutableClusterInfo.Builder,MutableClusterInfo>
,SdkBuilder<MutableClusterInfo.Builder,MutableClusterInfo>
,SdkPojo
- Enclosing class:
- MutableClusterInfo
public static interface MutableClusterInfo.Builder extends SdkPojo, CopyableBuilder<MutableClusterInfo.Builder,MutableClusterInfo>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default MutableClusterInfo.Builder
brokerCountUpdateInfo(Consumer<BrokerCountUpdateInfo.Builder> brokerCountUpdateInfo)
Describes brokers being changed during a broker count update.MutableClusterInfo.Builder
brokerCountUpdateInfo(BrokerCountUpdateInfo brokerCountUpdateInfo)
Describes brokers being changed during a broker count update.MutableClusterInfo.Builder
brokerEBSVolumeInfo(Collection<BrokerEBSVolumeInfo> brokerEBSVolumeInfo)
Specifies the size of the EBS volume and the ID of the associated broker.MutableClusterInfo.Builder
brokerEBSVolumeInfo(Consumer<BrokerEBSVolumeInfo.Builder>... brokerEBSVolumeInfo)
Specifies the size of the EBS volume and the ID of the associated broker.MutableClusterInfo.Builder
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.MutableClusterInfo.Builder
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.MutableClusterInfo.Builder
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.MutableClusterInfo.Builder
connectivityInfo(ConnectivityInfo connectivityInfo)
Information about the broker access configuration.default MutableClusterInfo.Builder
encryptionInfo(Consumer<EncryptionInfo.Builder> encryptionInfo)
Includes all encryption-related information.MutableClusterInfo.Builder
encryptionInfo(EncryptionInfo encryptionInfo)
Includes all encryption-related information.MutableClusterInfo.Builder
enhancedMonitoring(String enhancedMonitoring)
Specifies which Apache Kafka metrics Amazon MSK gathers and sends to Amazon CloudWatch for this cluster.MutableClusterInfo.Builder
enhancedMonitoring(EnhancedMonitoring enhancedMonitoring)
Specifies which Apache Kafka metrics Amazon MSK gathers and sends to Amazon CloudWatch for this cluster.MutableClusterInfo.Builder
instanceType(String instanceType)
Information about the Amazon MSK broker type.MutableClusterInfo.Builder
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.MutableClusterInfo.Builder
loggingInfo(LoggingInfo loggingInfo)
You can configure your MSK cluster to send broker logs to different destination types.MutableClusterInfo.Builder
numberOfBrokerNodes(Integer numberOfBrokerNodes)
The number of broker nodes in the cluster.default MutableClusterInfo.Builder
openMonitoring(Consumer<OpenMonitoring.Builder> openMonitoring)
The settings for open monitoring.MutableClusterInfo.Builder
openMonitoring(OpenMonitoring openMonitoring)
The settings for open monitoring.MutableClusterInfo.Builder
storageMode(String storageMode)
This controls storage mode for supported storage tiers.MutableClusterInfo.Builder
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 Detail
-
brokerEBSVolumeInfo
MutableClusterInfo.Builder brokerEBSVolumeInfo(Collection<BrokerEBSVolumeInfo> 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(BrokerEBSVolumeInfo... 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 to#brokerEBSVolumeInfo(List
.) - 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:
#brokerEBSVolumeInfo(java.util.Collection
)
-
configurationInfo
MutableClusterInfo.Builder configurationInfo(ConfigurationInfo 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:
configurationInfo(ConfigurationInfo)
-
numberOfBrokerNodes
MutableClusterInfo.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.
-
enhancedMonitoring
MutableClusterInfo.Builder enhancedMonitoring(String 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
,EnhancedMonitoring
-
enhancedMonitoring
MutableClusterInfo.Builder enhancedMonitoring(EnhancedMonitoring 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
,EnhancedMonitoring
-
openMonitoring
MutableClusterInfo.Builder openMonitoring(OpenMonitoring 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 MutableClusterInfo.Builder openMonitoring(Consumer<OpenMonitoring.Builder> 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:
openMonitoring(OpenMonitoring)
-
kafkaVersion
MutableClusterInfo.Builder kafkaVersion(String 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
MutableClusterInfo.Builder loggingInfo(LoggingInfo 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
default MutableClusterInfo.Builder loggingInfo(Consumer<LoggingInfo.Builder> 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:
loggingInfo(LoggingInfo)
-
instanceType
MutableClusterInfo.Builder instanceType(String 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
MutableClusterInfo.Builder clientAuthentication(ClientAuthentication 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:
clientAuthentication(ClientAuthentication)
-
encryptionInfo
MutableClusterInfo.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 MutableClusterInfo.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)
-
connectivityInfo
MutableClusterInfo.Builder connectivityInfo(ConnectivityInfo 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:
connectivityInfo(ConnectivityInfo)
-
storageMode
MutableClusterInfo.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
MutableClusterInfo.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
-
brokerCountUpdateInfo
MutableClusterInfo.Builder brokerCountUpdateInfo(BrokerCountUpdateInfo 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:
brokerCountUpdateInfo(BrokerCountUpdateInfo)
-
-