@Generated(value="software.amazon.awssdk:codegen") public final class CreateClusterRequest extends KafkaRequest implements ToCopyableBuilder<CreateClusterRequest.Builder,CreateClusterRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateClusterRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
BrokerNodeGroupInfo |
brokerNodeGroupInfo()
Information about the broker nodes in the cluster.
|
static CreateClusterRequest.Builder |
builder() |
ClientAuthentication |
clientAuthentication()
Includes all client authentication related information.
|
String |
clusterName()
The name of the cluster.
|
ConfigurationInfo |
configurationInfo()
Represents the configuration that you want MSK to use for the brokers in a cluster.
|
EncryptionInfo |
encryptionInfo()
Includes all encryption-related information.
|
EnhancedMonitoring |
enhancedMonitoring()
Specifies the level of monitoring for the MSK cluster.
|
String |
enhancedMonitoringAsString()
Specifies the level of monitoring for the MSK cluster.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
String |
kafkaVersion()
The version of Apache Kafka.
|
LoggingInfo |
loggingInfo()
Returns the value of the LoggingInfo property for this object.
|
Integer |
numberOfBrokerNodes()
The number of broker nodes in the cluster.
|
OpenMonitoringInfo |
openMonitoring()
The settings for open monitoring.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateClusterRequest.Builder> |
serializableBuilderClass() |
StorageMode |
storageMode()
This controls storage mode for supported storage tiers.
|
String |
storageModeAsString()
This controls storage mode for supported storage tiers.
|
Map<String,String> |
tags()
Create tags when creating the cluster.
|
CreateClusterRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final BrokerNodeGroupInfo brokerNodeGroupInfo()
Information about the broker nodes in the cluster.
Information about the broker nodes in the cluster.
public final ClientAuthentication clientAuthentication()
Includes all client authentication related information.
Includes all client authentication related information.
public final String clusterName()
The name of the cluster.
The name of the cluster.
public final ConfigurationInfo configurationInfo()
Represents the configuration that you want MSK to use for the brokers in a cluster.
Represents the configuration that you want MSK to use for the brokers in a cluster.
public final EncryptionInfo encryptionInfo()
Includes all encryption-related information.
Includes all encryption-related information.
public final 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.
If the service returns an enum value that is not available in the current SDK version,
enhancedMonitoring will return EnhancedMonitoring.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from enhancedMonitoringAsString().
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.
EnhancedMonitoringpublic final String enhancedMonitoringAsString()
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.
If the service returns an enum value that is not available in the current SDK version,
enhancedMonitoring will return EnhancedMonitoring.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from enhancedMonitoringAsString().
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.
EnhancedMonitoringpublic final OpenMonitoringInfo openMonitoring()
The settings for open monitoring.
The settings for open monitoring.
public final String kafkaVersion()
The version of Apache Kafka.
The version of Apache Kafka.
public final LoggingInfo loggingInfo()
public final Integer numberOfBrokerNodes()
The number of broker nodes in the cluster.
The number of broker nodes in the cluster.
public final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final Map<String,String> tags()
Create tags when creating the cluster.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
Create tags when creating the cluster.
public final StorageMode storageMode()
This controls storage mode for supported storage tiers.
If the service returns an enum value that is not available in the current SDK version, storageMode will
return StorageMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
storageModeAsString().
This controls storage mode for supported storage tiers.
StorageModepublic final String storageModeAsString()
This controls storage mode for supported storage tiers.
If the service returns an enum value that is not available in the current SDK version, storageMode will
return StorageMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
storageModeAsString().
This controls storage mode for supported storage tiers.
StorageModepublic CreateClusterRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateClusterRequest.Builder,CreateClusterRequest>toBuilder in class KafkaRequestpublic static CreateClusterRequest.Builder builder()
public static Class<? extends CreateClusterRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.