Interface TopicPartitionInfo.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TopicPartitionInfo.Builder,,TopicPartitionInfo> SdkBuilder<TopicPartitionInfo.Builder,,TopicPartitionInfo> SdkPojo
- Enclosing class:
TopicPartitionInfo
@Mutable
@NotThreadSafe
public static interface TopicPartitionInfo.Builder
extends SdkPojo, CopyableBuilder<TopicPartitionInfo.Builder,TopicPartitionInfo>
-
Method Summary
Modifier and TypeMethodDescriptionThe list of in-sync replica broker IDs for the partition.isr(Collection<Integer> isr) The list of in-sync replica broker IDs for the partition.The leader broker ID for the partition.The partition ID.The list of replica broker IDs for the partition.replicas(Collection<Integer> replicas) The list of replica broker IDs for the partition.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
partition
The partition ID.
- Parameters:
partition- The partition ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
leader
The leader broker ID for the partition.
- Parameters:
leader- The leader broker ID for the partition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicas
The list of replica broker IDs for the partition.
- Parameters:
replicas- The list of replica broker IDs for the partition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicas
The list of replica broker IDs for the partition.
- Parameters:
replicas- The list of replica broker IDs for the partition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isr
The list of in-sync replica broker IDs for the partition.
- Parameters:
isr- The list of in-sync replica broker IDs for the partition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isr
The list of in-sync replica broker IDs for the partition.
- Parameters:
isr- The list of in-sync replica broker IDs for the partition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-