@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateConfigurationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateConfigurationRequest() |
Modifier and Type | Method and Description |
---|---|
CreateConfigurationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
The description of the configuration.
|
List<String> |
getKafkaVersions()
The versions of Apache Kafka with which you can use this MSK configuration.
|
String |
getName()
The name of the configuration.
|
ByteBuffer |
getServerProperties()
Contents of the
|
int |
hashCode() |
void |
setDescription(String description)
The description of the configuration.
|
void |
setKafkaVersions(Collection<String> kafkaVersions)
The versions of Apache Kafka with which you can use this MSK configuration.
|
void |
setName(String name)
The name of the configuration.
|
void |
setServerProperties(ByteBuffer serverProperties)
Contents of the
|
String |
toString()
Returns a string representation of this object.
|
CreateConfigurationRequest |
withDescription(String description)
The description of the configuration.
|
CreateConfigurationRequest |
withKafkaVersions(Collection<String> kafkaVersions)
The versions of Apache Kafka with which you can use this MSK configuration.
|
CreateConfigurationRequest |
withKafkaVersions(String... kafkaVersions)
The versions of Apache Kafka with which you can use this MSK configuration.
|
CreateConfigurationRequest |
withName(String name)
The name of the configuration.
|
CreateConfigurationRequest |
withServerProperties(ByteBuffer serverProperties)
Contents of the
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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 CreateConfigurationRequest withDescription(String description)
The description of the configuration.
description
- The description of the configuration.
public List<String> getKafkaVersions()
The versions of Apache Kafka with which you can use this MSK configuration.
The versions of Apache Kafka with which you can use this MSK configuration.
public void setKafkaVersions(Collection<String> kafkaVersions)
The versions of Apache Kafka with which you can use this MSK configuration.
kafkaVersions
- The versions of Apache Kafka with which you can use this MSK configuration.
public CreateConfigurationRequest withKafkaVersions(String... kafkaVersions)
The versions of Apache Kafka with which you can use this MSK configuration.
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
- The versions of Apache Kafka with which you can use this MSK configuration.
public CreateConfigurationRequest withKafkaVersions(Collection<String> kafkaVersions)
The versions of Apache Kafka with which you can use this MSK configuration.
kafkaVersions
- The versions of Apache Kafka with which you can use this MSK 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 CreateConfigurationRequest withName(String name)
The name of the configuration.
name
- The name of the configuration.
public void setServerProperties(ByteBuffer serverProperties)
Contents of the
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
serverProperties
-
Contents of the
public ByteBuffer getServerProperties()
Contents of the
ByteBuffer
s are stateful. Calling their get
methods changes their position
. We recommend
using ByteBuffer.asReadOnlyBuffer()
to create a read-only view of the buffer with an independent
position
, and calling get
methods on this rather than directly on the returned ByteBuffer
. Doing so will ensure that anyone else using the ByteBuffer
will not be affected by changes to the
position
.
Contents of the
public CreateConfigurationRequest withServerProperties(ByteBuffer serverProperties)
Contents of the
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
serverProperties
-
Contents of the
public String toString()
toString
in class Object
Object.toString()
public CreateConfigurationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Privacy | Site terms | Cookie preferences | © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.