Class CreateClusterLinksOptions
java.lang.Object
org.apache.kafka.clients.admin.AbstractOptions<CreateClusterLinksOptions>
org.apache.kafka.clients.admin.CreateClusterLinksOptions
@Confluent@Evolvingpublic class CreateClusterLinksOptionsextends AbstractOptions<CreateClusterLinksOptions>
Options for
ConfluentAdmin.createClusterLinks(Collection, CreateClusterLinksOptions). The API of this class is evolving, see Admin for details.Constructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionbooleanWhether to validate the links to the clusters before creation.validateLink(boolean validateLink) Sets whether to validate the links to the clusters before creation.booleanWhether to validate that the cluster links can be created, but not actually create them.validateOnly(boolean validateOnly) Sets whether to validate that the cluster links can be created, but not actually create them.Methods inherited from class org.apache.kafka.clients.admin.AbstractOptions
timeoutMs, timeoutMs
Constructor Details
CreateClusterLinksOptions
public CreateClusterLinksOptions()
Method Details
validateOnly
public boolean validateOnly()Whether to validate that the cluster links can be created, but not actually create them.validateOnly
Sets whether to validate that the cluster links can be created, but not actually create them.validateLink
public boolean validateLink()Whether to validate the links to the clusters before creation.validateLink
Sets whether to validate the links to the clusters before creation.