| Modifier and Type | Method and Description |
|---|---|
Route |
build()
Builds a new
Route. |
Route.Builder |
from(Route instance)
Fill a builder with attribute values from the provided
Route instance. |
Route.Builder |
route(String route)
Initializes the value for the
route 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 route(String route)
route attribute.route - The value for routethis builder for use in a chained invocationpublic Route build()
Route.IllegalStateException - if any required attributes are missingCopyright © 2018. All rights reserved.