Class ReplicationInfo
- java.lang.Object
-
- software.amazon.awssdk.services.kafka.model.ReplicationInfo
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ReplicationInfo.Builder,ReplicationInfo>
@Generated("software.amazon.awssdk:codegen") public final class ReplicationInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReplicationInfo.Builder,ReplicationInfo>
Specifies configuration for replication between a source and target Kafka cluster.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceReplicationInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReplicationInfo.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 ReplicationInfo.Builder>serializableBuilderClass()StringsourceKafkaClusterArn()The ARN 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.StringtargetKafkaClusterArn()The ARN of the target Kafka cluster.ReplicationInfo.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.
-
sourceKafkaClusterArn
public final String sourceKafkaClusterArn()
The ARN of the source Kafka cluster.
- Returns:
- The ARN 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
-
targetKafkaClusterArn
public final String targetKafkaClusterArn()
The ARN of the target Kafka cluster.
- Returns:
- The ARN of the target Kafka cluster.
-
topicReplication
public final TopicReplication topicReplication()
Configuration relating to topic replication.
- Returns:
- Configuration relating to topic replication.
-
toBuilder
public ReplicationInfo.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ReplicationInfo.Builder,ReplicationInfo>
-
builder
public static ReplicationInfo.Builder builder()
-
serializableBuilderClass
public static Class<? extends ReplicationInfo.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
-
-