Uses of Class
org.kiwiproject.consul.model.query.ImmutableQueryResult
Packages that use ImmutableQueryResult
-
Uses of ImmutableQueryResult in org.kiwiproject.consul.model.query
Methods in org.kiwiproject.consul.model.query that return ImmutableQueryResultModifier and TypeMethodDescriptionImmutableQueryResult.Builder.build()Builds a newImmutableQueryResult.static ImmutableQueryResultImmutableQueryResult.copyOf(QueryResult instance) Creates an immutable copy of aQueryResultvalue.final ImmutableQueryResultImmutableQueryResult.withChecks(Iterable<? extends HealthCheck> elements) Copy the current immutable object with elements that replace the content ofchecks.final ImmutableQueryResultImmutableQueryResult.withChecks(HealthCheck... elements) Copy the current immutable object with elements that replace the content ofchecks.final ImmutableQueryResultImmutableQueryResult.withDatacenters(String value) Copy the current immutable object by setting a present value for the optionaldatacentersattribute.final ImmutableQueryResultImmutableQueryResult.withDatacenters(Optional<String> optional) Copy the current immutable object by setting an optional value for thedatacentersattribute.final ImmutableQueryResultCopy the current immutable object by setting an optional value for thednsattribute.final ImmutableQueryResultCopy the current immutable object by setting a present value for the optionaldnsattribute.final ImmutableQueryResultImmutableQueryResult.withFailovers(int value) Copy the current immutable object by setting a present value for the optionalfailoversattribute.final ImmutableQueryResultImmutableQueryResult.withFailovers(Optional<Integer> optional) Copy the current immutable object by setting an optional value for thefailoversattribute.final ImmutableQueryResultCopy the current immutable object by setting a value for thenodeattribute.final ImmutableQueryResultImmutableQueryResult.withService(Service value) Copy the current immutable object by setting a value for theserviceattribute.