public static final class CheckReservedRoutesResponse.Builder extends Object
CheckReservedRoutesResponse.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
| Modifier and Type | Method and Description |
|---|---|
CheckReservedRoutesResponse |
build()
Builds a new
CheckReservedRoutesResponse. |
CheckReservedRoutesResponse.Builder |
from(CheckReservedRoutesResponse instance)
Fill a builder with attribute values from the provided
CheckReservedRoutesResponse instance. |
CheckReservedRoutesResponse.Builder |
matchingRoute(Boolean matchingRoute)
Initializes the value for the
matchingRoute attribute. |
public final CheckReservedRoutesResponse.Builder from(CheckReservedRoutesResponse instance)
CheckReservedRoutesResponse 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 CheckReservedRoutesResponse.Builder matchingRoute(Boolean matchingRoute)
matchingRoute attribute.matchingRoute - The value for matchingRoutethis builder for use in a chained invocationpublic CheckReservedRoutesResponse build()
CheckReservedRoutesResponse.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.