@Beta public final class HostToHostIntent extends ConnectivityIntent
Modifier and Type | Class and Description |
---|---|
static class |
HostToHostIntent.Builder
Builder of a host to host intent.
|
DEFAULT_INTENT_PRIORITY, MAX_PRIORITY, MIN_PRIORITY
Modifier and Type | Method and Description |
---|---|
static HostToHostIntent.Builder |
builder()
Returns a new host to host intent builder.
|
HostId |
one()
Returns identifier of the first host.
|
java.lang.String |
toString() |
HostId |
two()
Returns identifier of the second host.
|
constraints, resources, resources, selector, treatment
appId, bindIdGenerator, equals, hashCode, id, isInstallable, key, priority, resourceGroup, resources, unbindIdGenerator
public static HostToHostIntent.Builder builder()
public HostId one()
public HostId two()
public java.lang.String toString()
toString
in class java.lang.Object