Class ReplicationInfoDescription
- java.lang.Object
-
- software.amazon.awssdk.services.kafka.model.ReplicationInfoDescription
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ReplicationInfoDescription.Builder,ReplicationInfoDescription>
@Generated("software.amazon.awssdk:codegen") public final class ReplicationInfoDescription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReplicationInfoDescription.Builder,ReplicationInfoDescription>
Specifies configuration for replication between a source and target Kafka cluster (sourceKafkaClusterAlias -> targetKafkaClusterAlias)
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ReplicationInfoDescription.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReplicationInfoDescription.Builder
builder()
ConsumerGroupReplication
consumerGroupReplication()
Configuration relating to consumer group replication.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
List<SdkField<?>>
sdkFields()
static Class<? extends ReplicationInfoDescription.Builder>
serializableBuilderClass()
String
sourceKafkaClusterAlias()
The alias of the source Kafka cluster.TargetCompressionType
targetCompressionType()
The compression type to use when producing records to target cluster.String
targetCompressionTypeAsString()
The compression type to use when producing records to target cluster.String
targetKafkaClusterAlias()
The alias of the target Kafka cluster.ReplicationInfoDescription.Builder
toBuilder()
TopicReplication
topicReplication()
Configuration relating to topic replication.String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
consumerGroupReplication
public final ConsumerGroupReplication consumerGroupReplication()
Configuration relating to consumer group replication.
- Returns:
- Configuration relating to consumer group replication.
-
sourceKafkaClusterAlias
public final String sourceKafkaClusterAlias()
The alias of the source Kafka cluster.
- Returns:
- The alias of the source Kafka cluster.
-
targetCompressionType
public final TargetCompressionType targetCompressionType()
The compression type to use when producing records to target cluster.
If the service returns an enum value that is not available in the current SDK version,
targetCompressionType
will returnTargetCompressionType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtargetCompressionTypeAsString()
.- Returns:
- The compression type to use when producing records to target cluster.
- See Also:
TargetCompressionType
-
targetCompressionTypeAsString
public final String targetCompressionTypeAsString()
The compression type to use when producing records to target cluster.
If the service returns an enum value that is not available in the current SDK version,
targetCompressionType
will returnTargetCompressionType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtargetCompressionTypeAsString()
.- Returns:
- The compression type to use when producing records to target cluster.
- See Also:
TargetCompressionType
-
targetKafkaClusterAlias
public final String targetKafkaClusterAlias()
The alias of the target Kafka cluster.
- Returns:
- The alias of the target Kafka cluster.
-
topicReplication
public final TopicReplication topicReplication()
Configuration relating to topic replication.
- Returns:
- Configuration relating to topic replication.
-
toBuilder
public ReplicationInfoDescription.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ReplicationInfoDescription.Builder,ReplicationInfoDescription>
-
builder
public static ReplicationInfoDescription.Builder builder()
-
serializableBuilderClass
public static Class<? extends ReplicationInfoDescription.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-