@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.
|
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.
|
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.
|
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 String toString()
toString
in class Object
Object.toString()
public Configuration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.