| Package | Description |
|---|---|
| com.orbitz.consul.model.catalog | |
| com.orbitz.consul.model.health |
| Modifier and Type | Class and Description |
|---|---|
class |
ImmutableServiceWeights
Immutable implementation of
ServiceWeights. |
| Modifier and Type | Method and Description |
|---|---|
Optional<ServiceWeights> |
ImmutableCatalogService.getServiceWeights() |
abstract Optional<ServiceWeights> |
CatalogService.getServiceWeights() |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableServiceWeights |
ImmutableServiceWeights.copyOf(ServiceWeights instance)
Creates an immutable copy of a
ServiceWeights value. |
ImmutableServiceWeights.Builder |
ImmutableServiceWeights.Builder.from(ServiceWeights instance)
Fill a builder with attribute values from the provided
ServiceWeights instance. |
ImmutableCatalogService.Builder |
ImmutableCatalogService.Builder.serviceWeights(ServiceWeights serviceWeights)
Initializes the optional value
serviceWeights to serviceWeights. |
ImmutableCatalogService |
ImmutableCatalogService.withServiceWeights(ServiceWeights value)
Copy the current immutable object by setting a present value for the optional
serviceWeights attribute. |
| Modifier and Type | Method and Description |
|---|---|
ImmutableCatalogService.Builder |
ImmutableCatalogService.Builder.serviceWeights(Optional<? extends ServiceWeights> serviceWeights)
Initializes the optional value
serviceWeights to serviceWeights. |
ImmutableCatalogService |
ImmutableCatalogService.withServiceWeights(Optional<? extends ServiceWeights> optional)
Copy the current immutable object by setting an optional value for the
serviceWeights attribute. |
| Modifier and Type | Method and Description |
|---|---|
Optional<ServiceWeights> |
ImmutableService.getWeights() |
abstract Optional<ServiceWeights> |
Service.getWeights() |
| Modifier and Type | Method and Description |
|---|---|
ImmutableService.Builder |
ImmutableService.Builder.weights(ServiceWeights weights)
Initializes the optional value
weights to weights. |
ImmutableService |
ImmutableService.withWeights(ServiceWeights value)
Copy the current immutable object by setting a present value for the optional
weights attribute. |
| Modifier and Type | Method and Description |
|---|---|
ImmutableService.Builder |
ImmutableService.Builder.weights(Optional<? extends ServiceWeights> weights)
Initializes the optional value
weights to weights. |
ImmutableService |
ImmutableService.withWeights(Optional<? extends ServiceWeights> optional)
Copy the current immutable object by setting an optional value for the
weights attribute. |
Copyright © 2019. All rights reserved.