@Confluent @InterfaceStability.Evolving public class AlterMirrorsOptions extends AbstractOptions<AlterMirrorsOptions>
ConfluentAdmin#alterMirrors(List, AlterMirrorsOptions)
.
The API of this class is evolving, see Admin
for details.Constructor and Description |
---|
AlterMirrorsOptions() |
Modifier and Type | Method and Description |
---|---|
boolean |
includePartitionLevelTruncationData()
For TRUNCATE_AND_RESTORE, whether to include partition-level information about the truncated data in the response.
|
AlterMirrorsOptions |
includePartitionLevelTruncationData(boolean includePartitionLevelTruncationData)
Sets the value of includePartitionLevelTruncationData
|
String |
linkName()
The link name associated with the mirror topics, only relevant for TRUNCATE_AND_RESTORE
|
AlterMirrorsOptions |
linkName(String linkName)
Sets the link name
|
boolean |
validateOnly()
Whether to validate the mirror control operation, but not actually perform it.
|
AlterMirrorsOptions |
validateOnly(boolean validateOnly)
Sets whether to validate the mirror control operation, but not actually perform it.
|
timeoutMs, timeoutMs
public boolean validateOnly()
public String linkName()
public boolean includePartitionLevelTruncationData()
public AlterMirrorsOptions validateOnly(boolean validateOnly)
public AlterMirrorsOptions linkName(String linkName)
public AlterMirrorsOptions includePartitionLevelTruncationData(boolean includePartitionLevelTruncationData)