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 interfaceReplicationInfoDescription.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReplicationInfoDescription.Builderbuilder()ConsumerGroupReplicationconsumerGroupReplication()Configuration relating to consumer group replication.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ReplicationInfoDescription.Builder>serializableBuilderClass()StringsourceKafkaClusterAlias()The alias of the source Kafka cluster.TargetCompressionTypetargetCompressionType()The compression type to use when producing records to target cluster.StringtargetCompressionTypeAsString()The compression type to use when producing records to target cluster.StringtargetKafkaClusterAlias()The alias of the target Kafka cluster.ReplicationInfoDescription.BuildertoBuilder()TopicReplicationtopicReplication()Configuration relating to topic replication.StringtoString()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,
targetCompressionTypewill 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,
targetCompressionTypewill 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:
toBuilderin 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:
equalsBySdkFieldsin 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-