| Package | Description |
|---|---|
| com.orbitz.consul.model.health |
| Modifier and Type | Method and Description |
|---|---|
ImmutableService |
ImmutableService.Builder.build()
Builds a new
ImmutableService. |
static ImmutableService |
ImmutableService.copyOf(Service instance)
Creates an immutable copy of a
Service value. |
ImmutableService |
ImmutableService.withAddress(String value)
Copy the current immutable object by setting a value for the
address attribute. |
ImmutableService |
ImmutableService.withEnableTagOverride(boolean value)
Copy the current immutable object by setting a present value for the optional
enableTagOverride attribute. |
ImmutableService |
ImmutableService.withEnableTagOverride(Optional<Boolean> optional)
Copy the current immutable object by setting an optional value for the
enableTagOverride attribute. |
ImmutableService |
ImmutableService.withId(String value)
Copy the current immutable object by setting a value for the
id attribute. |
ImmutableService |
ImmutableService.withMeta(Map<String,? extends String> entries)
Copy the current immutable object by replacing the
meta map with the specified map. |
ImmutableService |
ImmutableService.withPort(int value)
Copy the current immutable object by setting a value for the
port attribute. |
ImmutableService |
ImmutableService.withService(String value)
Copy the current immutable object by setting a value for the
service attribute. |
ImmutableService |
ImmutableService.withTags(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
tags. |
ImmutableService |
ImmutableService.withTags(String... elements)
Copy the current immutable object with elements that replace the content of
tags. |
ImmutableService |
ImmutableService.withWeights(Optional<? extends ServiceWeights> optional)
Copy the current immutable object by setting an optional value for the
weights attribute. |
ImmutableService |
ImmutableService.withWeights(ServiceWeights value)
Copy the current immutable object by setting a present value for the optional
weights attribute. |
Copyright © 2019. All rights reserved.