@Generated(value="org.immutables.processor.ProxyProcessor") public final class Route extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Route.Builder
Builds instances of type
Route . |
Modifier and Type | Method and Description |
---|---|
static Route.Builder |
builder()
Creates a builder for
Route . |
boolean |
equals(Object another)
This instance is equal to all instances of
Route that have equal attribute values. |
List<String> |
getApplications()
The applications bound to this route.
|
String |
getDomain()
The domain of this route
|
String |
getHost()
The host of this route
|
String |
getId()
The id
|
String |
getPath()
The path of this route
|
String |
getPort()
The port of this route
|
String |
getService()
The service of this route
|
String |
getSpace()
The name of the space of this route
|
String |
getType()
The type of this route
|
int |
hashCode()
Computes a hash code from attributes:
applications , domain , host , id , path , port , service , space , type . |
String |
toString()
Prints the immutable value
Route with attribute values. |
public String getDomain()
public String getHost()
public String getId()
public String getPath()
public String getPort()
public String getService()
public String getSpace()
public String getType()
public boolean equals(Object another)
Route
that have equal attribute values.public int hashCode()
applications
, domain
, host
, id
, path
, port
, service
, space
, type
.public String toString()
Route
with attribute values.public static Route.Builder builder()
Route
.
Route.builder() .application|addAllApplications(String) //applications
elements .domain(String) // requireddomain
.host(String) // requiredhost
.id(String) // requiredid
.path(String | null) // nullablepath
.port(String | null) // nullableport
.service(String | null) // nullableservice
.space(String) // requiredspace
.type(String | null) // nullabletype
.build();
Copyright © 2020. All rights reserved.