Uses of Class
org.kiwiproject.consul.model.health.ImmutableService
Packages that use ImmutableService
-
Uses of ImmutableService in org.kiwiproject.consul.model.health
Methods in org.kiwiproject.consul.model.health that return ImmutableServiceModifier and TypeMethodDescriptionImmutableService.Builder.build()Builds a newImmutableService.static ImmutableServiceCreates an immutable copy of aServicevalue.final ImmutableServiceImmutableService.withAddress(String value) Copy the current immutable object by setting a value for theaddressattribute.final ImmutableServiceImmutableService.withEnableTagOverride(boolean value) Copy the current immutable object by setting a present value for the optionalenableTagOverrideattribute.final ImmutableServiceImmutableService.withEnableTagOverride(Optional<Boolean> optional) Copy the current immutable object by setting an optional value for theenableTagOverrideattribute.final ImmutableServiceCopy the current immutable object by setting a value for theidattribute.final ImmutableServiceCopy the current immutable object by replacing themetamap with the specified map.final ImmutableServiceImmutableService.withPort(int value) Copy the current immutable object by setting a value for theportattribute.final ImmutableServiceImmutableService.withService(String value) Copy the current immutable object by setting a value for theserviceattribute.final ImmutableServiceCopy the current immutable object with elements that replace the content oftags.final ImmutableServiceCopy the current immutable object with elements that replace the content oftags.final ImmutableServiceImmutableService.withWeights(Optional<? extends ServiceWeights> optional) Copy the current immutable object by setting an optional value for theweightsattribute.final ImmutableServiceImmutableService.withWeights(ServiceWeights value) Copy the current immutable object by setting a present value for the optionalweightsattribute.