| Modifier and Type | Method and Description |
|---|---|
Route |
build()
Builds a new
Route. |
Route.Builder |
domain(Domain domain)
Initializes the value for the
domain attribute. |
Route.Builder |
from(Route instance)
Fill a builder with attribute values from the provided
Route instance. |
Route.Builder |
host(String host)
Initializes the value for the
host attribute. |
Route.Builder |
id(String id)
Initializes the value for the
id attribute. |
Route.Builder |
path(String path)
Initializes the value for the
path attribute. |
Route.Builder |
port(Integer port)
Initializes the value for the
port attribute. |
public final Route.Builder from(Route instance)
Route instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final Route.Builder domain(Domain domain)
domain attribute.domain - The value for domain (can be null)this builder for use in a chained invocationpublic final Route.Builder host(String host)
host attribute.host - The value for host (can be null)this builder for use in a chained invocationpublic final Route.Builder id(String id)
id attribute.id - The value for id (can be null)this builder for use in a chained invocationpublic final Route.Builder path(String path)
path attribute.path - The value for path (can be null)this builder for use in a chained invocationpublic final Route.Builder port(Integer port)
port attribute.port - The value for port (can be null)this builder for use in a chained invocationpublic Route build()
Route.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.