Interface AwsMskClusterClusterInfoDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsMskClusterClusterInfoDetails.Builder,
,AwsMskClusterClusterInfoDetails> SdkBuilder<AwsMskClusterClusterInfoDetails.Builder,
,AwsMskClusterClusterInfoDetails> SdkPojo
- Enclosing class:
AwsMskClusterClusterInfoDetails
-
Method Summary
Modifier and TypeMethodDescriptionclientAuthentication
(Consumer<AwsMskClusterClusterInfoClientAuthenticationDetails.Builder> clientAuthentication) Provides information for different modes of client authentication.clientAuthentication
(AwsMskClusterClusterInfoClientAuthenticationDetails clientAuthentication) Provides information for different modes of client authentication.clusterName
(String clusterName) The name of the cluster.currentVersion
(String currentVersion) The current version of the cluster.encryptionInfo
(Consumer<AwsMskClusterClusterInfoEncryptionInfoDetails.Builder> encryptionInfo) Includes encryption-related information, such as the KMS key used for encrypting data at rest and whether you want Amazon MSK to encrypt your data in transit.encryptionInfo
(AwsMskClusterClusterInfoEncryptionInfoDetails encryptionInfo) Includes encryption-related information, such as the KMS key used for encrypting data at rest and whether you want Amazon MSK to encrypt your data in transit.enhancedMonitoring
(String enhancedMonitoring) Specifies the level of monitoring for the cluster.numberOfBrokerNodes
(Integer numberOfBrokerNodes) The number of broker nodes in the cluster.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, sdkFieldNameToField, sdkFields
-
Method Details
-
encryptionInfo
AwsMskClusterClusterInfoDetails.Builder encryptionInfo(AwsMskClusterClusterInfoEncryptionInfoDetails encryptionInfo) Includes encryption-related information, such as the KMS key used for encrypting data at rest and whether you want Amazon MSK to encrypt your data in transit.
- Parameters:
encryptionInfo
- Includes encryption-related information, such as the KMS key used for encrypting data at rest and whether you want Amazon MSK to encrypt your data in transit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionInfo
default AwsMskClusterClusterInfoDetails.Builder encryptionInfo(Consumer<AwsMskClusterClusterInfoEncryptionInfoDetails.Builder> encryptionInfo) Includes encryption-related information, such as the KMS key used for encrypting data at rest and whether you want Amazon MSK to encrypt your data in transit.
This is a convenience method that creates an instance of theAwsMskClusterClusterInfoEncryptionInfoDetails.Builder
avoiding the need to create one manually viaAwsMskClusterClusterInfoEncryptionInfoDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toencryptionInfo(AwsMskClusterClusterInfoEncryptionInfoDetails)
.- Parameters:
encryptionInfo
- a consumer that will call methods onAwsMskClusterClusterInfoEncryptionInfoDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
currentVersion
The current version of the cluster.
- Parameters:
currentVersion
- The current version of the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
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.
-
clientAuthentication
AwsMskClusterClusterInfoDetails.Builder clientAuthentication(AwsMskClusterClusterInfoClientAuthenticationDetails clientAuthentication) Provides information for different modes of client authentication.
- Parameters:
clientAuthentication
- Provides information for different modes of client authentication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientAuthentication
default AwsMskClusterClusterInfoDetails.Builder clientAuthentication(Consumer<AwsMskClusterClusterInfoClientAuthenticationDetails.Builder> clientAuthentication) Provides information for different modes of client authentication.
This is a convenience method that creates an instance of theAwsMskClusterClusterInfoClientAuthenticationDetails.Builder
avoiding the need to create one manually viaAwsMskClusterClusterInfoClientAuthenticationDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toclientAuthentication(AwsMskClusterClusterInfoClientAuthenticationDetails)
.- Parameters:
clientAuthentication
- a consumer that will call methods onAwsMskClusterClusterInfoClientAuthenticationDetails.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 cluster.
- Parameters:
enhancedMonitoring
- Specifies the level of monitoring for the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-