| Package | Description |
|---|---|
| com.orbitz.consul.model.session |
| Modifier and Type | Method and Description |
|---|---|
ImmutableSessionInfo.Builder |
ImmutableSessionInfo.Builder.addAllChecks(Iterable<String> elements)
Adds elements to
checks list. |
ImmutableSessionInfo.Builder |
ImmutableSessionInfo.Builder.addChecks(String... elements)
Adds elements to
checks list. |
ImmutableSessionInfo.Builder |
ImmutableSessionInfo.Builder.addChecks(String element)
Adds one element to
checks list. |
ImmutableSessionInfo.Builder |
ImmutableSessionInfo.Builder.behavior(String behavior)
Initializes the value for the
behavior attribute. |
static ImmutableSessionInfo.Builder |
ImmutableSessionInfo.builder()
Creates a builder for
ImmutableSessionInfo. |
ImmutableSessionInfo.Builder |
ImmutableSessionInfo.Builder.checks(Iterable<String> elements)
Sets or replaces all elements for
checks list. |
ImmutableSessionInfo.Builder |
ImmutableSessionInfo.Builder.createIndex(long createIndex)
Initializes the value for the
createIndex attribute. |
ImmutableSessionInfo.Builder |
ImmutableSessionInfo.Builder.from(SessionInfo instance)
Fill a builder with attribute values from the provided
SessionInfo instance. |
ImmutableSessionInfo.Builder |
ImmutableSessionInfo.Builder.id(String id)
Initializes the value for the
id attribute. |
ImmutableSessionInfo.Builder |
ImmutableSessionInfo.Builder.lockDelay(Long lockDelay)
Initializes the value for the
lockDelay attribute. |
ImmutableSessionInfo.Builder |
ImmutableSessionInfo.Builder.name(Optional<String> name)
Initializes the optional value
name to name. |
ImmutableSessionInfo.Builder |
ImmutableSessionInfo.Builder.name(String name)
Initializes the optional value
name to name. |
ImmutableSessionInfo.Builder |
ImmutableSessionInfo.Builder.node(String node)
Initializes the value for the
node attribute. |
ImmutableSessionInfo.Builder |
ImmutableSessionInfo.Builder.ttl(Optional<String> ttl)
Initializes the optional value
ttl to ttl. |
ImmutableSessionInfo.Builder |
ImmutableSessionInfo.Builder.ttl(String ttl)
Initializes the optional value
ttl to ttl. |
Copyright © 2018. All rights reserved.