@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Configuration extends Object implements Serializable, Cloneable, StructuredPojo
Represents an MSK Configuration.
| Constructor and Description |
|---|
Configuration() |
| Modifier and Type | Method and Description |
|---|---|
Configuration |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the configuration.
|
Date |
getCreationTime()
The time when the configuration was created.
|
String |
getDescription()
The description of the configuration.
|
List<String> |
getKafkaVersions()
An array of the versions of Apache Kafka with which you can use this MSK configuration.
|
ConfigurationRevision |
getLatestRevision()
Latest revision of the configuration.
|
String |
getName()
The name of the configuration.
|
String |
getState()
The state of the configuration.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the configuration.
|
void |
setCreationTime(Date creationTime)
The time when the configuration was created.
|
void |
setDescription(String description)
The description of the configuration.
|
void |
setKafkaVersions(Collection<String> kafkaVersions)
An array of the versions of Apache Kafka with which you can use this MSK configuration.
|
void |
setLatestRevision(ConfigurationRevision latestRevision)
Latest revision of the configuration.
|
void |
setName(String name)
The name of the configuration.
|
void |
setState(String state)
The state of the configuration.
|
String |
toString()
Returns a string representation of this object.
|
Configuration |
withArn(String arn)
The Amazon Resource Name (ARN) of the configuration.
|
Configuration |
withCreationTime(Date creationTime)
The time when the configuration was created.
|
Configuration |
withDescription(String description)
The description of the configuration.
|
Configuration |
withKafkaVersions(Collection<String> kafkaVersions)
An array of the versions of Apache Kafka with which you can use this MSK configuration.
|
Configuration |
withKafkaVersions(String... kafkaVersions)
An array of the versions of Apache Kafka with which you can use this MSK configuration.
|
Configuration |
withLatestRevision(ConfigurationRevision latestRevision)
Latest revision of the configuration.
|
Configuration |
withName(String name)
The name of the configuration.
|
Configuration |
withState(ConfigurationState state)
The state of the configuration.
|
Configuration |
withState(String state)
The state of the configuration.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the configuration.
arn - The Amazon Resource Name (ARN) of the configuration.
public String getArn()
The Amazon Resource Name (ARN) of the configuration.
The Amazon Resource Name (ARN) of the configuration.
public Configuration withArn(String arn)
The Amazon Resource Name (ARN) of the configuration.
arn - The Amazon Resource Name (ARN) of the configuration.
public void setCreationTime(Date creationTime)
The time when the configuration was created.
creationTime - The time when the configuration was created.
public Date getCreationTime()
The time when the configuration was created.
The time when the configuration was created.
public Configuration withCreationTime(Date creationTime)
The time when the configuration was created.
creationTime - The time when the configuration was created.
public void setDescription(String description)
The description of the configuration.
description - The description of the configuration.
public String getDescription()
The description of the configuration.
The description of the configuration.
public Configuration withDescription(String description)
The description of the configuration.
description - The description of the configuration.
public List<String> getKafkaVersions()
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.
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 void setKafkaVersions(Collection<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.
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.
public Configuration withKafkaVersions(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.
NOTE: This method appends the values to the existing list (if any). Use
setKafkaVersions(java.util.Collection) or withKafkaVersions(java.util.Collection) if you want
to override the existing values.
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.
public Configuration withKafkaVersions(Collection<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.
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.
public void setLatestRevision(ConfigurationRevision latestRevision)
Latest revision of the configuration.
latestRevision - Latest revision of the configuration.
public ConfigurationRevision getLatestRevision()
Latest revision of the configuration.
Latest revision of the configuration.
public Configuration withLatestRevision(ConfigurationRevision latestRevision)
Latest revision of the configuration.
latestRevision - Latest revision of the configuration.
public void setName(String name)
The name of the configuration.
name - The name of the configuration.
public String getName()
The name of the configuration.
The name of the configuration.
public Configuration withName(String name)
The name of the configuration.
name - The name of the configuration.
public void setState(String state)
The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.
state - The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.
ConfigurationStatepublic String getState()
The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.
The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.
ConfigurationStatepublic Configuration withState(String state)
The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.
state - The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.
ConfigurationStatepublic Configuration withState(ConfigurationState state)
The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.
state - The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.
ConfigurationStatepublic String toString()
toString in class ObjectObject.toString()public Configuration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.