@Generated(value="software.amazon.awssdk:codegen") public final class Configuration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Configuration.Builder,Configuration>
Represents an MSK Configuration.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Configuration.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the configuration.
|
static Configuration.Builder |
builder() |
Instant |
creationTime()
The time when the configuration was created.
|
String |
description()
The description of the configuration.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasKafkaVersions()
For responses, this returns true if the service returned a value for the KafkaVersions property.
|
List<String> |
kafkaVersions()
An array of the versions of Apache Kafka with which you can use this MSK configuration.
|
ConfigurationRevision |
latestRevision()
Latest revision of the configuration.
|
String |
name()
The name of the configuration.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Configuration.Builder> |
serializableBuilderClass() |
ConfigurationState |
state()
The state of the configuration.
|
String |
stateAsString()
The state of the configuration.
|
Configuration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
The Amazon Resource Name (ARN) of the configuration.
The Amazon Resource Name (ARN) of the configuration.
public final Instant creationTime()
The time when the configuration was created.
The time when the configuration was created.
public final String description()
The description of the configuration.
The description of the configuration.
public final boolean hasKafkaVersions()
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 List<String> kafkaVersions()
An array of the versions of Apache Kafka with which you can use this MSK configuration. You can use this configuration for an MSK cluster only if the Apache Kafka version specified for the cluster appears in this array.
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 hasKafkaVersions() method.
An array of the versions of Apache Kafka with which you can use this MSK configuration. You can use this configuration for an MSK cluster only if the Apache Kafka version specified for the cluster appears in this array.
public final ConfigurationRevision latestRevision()
Latest revision of the configuration.
Latest revision of the configuration.
public final String name()
The name of the configuration.
The name of the configuration.
public final ConfigurationState state()
The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.
If the service returns an enum value that is not available in the current SDK version, state will return
ConfigurationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.
ConfigurationStatepublic final String stateAsString()
The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.
If the service returns an enum value that is not available in the current SDK version, state will return
ConfigurationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.
ConfigurationStatepublic Configuration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Configuration.Builder,Configuration>public static Configuration.Builder builder()
public static Class<? extends Configuration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.