| 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.withId(String value)
Copy the current immutable object by setting a value for the
id attribute. |
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. |
Copyright © 2018. All rights reserved.