@Generated(from="_ServiceRouteBindingRelationships",
generator="Immutables")
public static final class ServiceRouteBindingRelationships.Builder
extends Object
ServiceRouteBindingRelationships.
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 |
|---|---|
ServiceRouteBindingRelationships |
build()
Builds a new
ServiceRouteBindingRelationships. |
ServiceRouteBindingRelationships.Builder |
from(ServiceRouteBindingRelationships instance)
Fill a builder with attribute values from the provided
ServiceRouteBindingRelationships instance. |
ServiceRouteBindingRelationships.Builder |
route(ToOneRelationship route)
Initializes the value for the
route attribute. |
ServiceRouteBindingRelationships.Builder |
serviceInstance(ToOneRelationship serviceInstance)
Initializes the value for the
serviceInstance attribute. |
public final ServiceRouteBindingRelationships.Builder from(ServiceRouteBindingRelationships instance)
ServiceRouteBindingRelationships 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 ServiceRouteBindingRelationships.Builder route(ToOneRelationship route)
route attribute.route - The value for routethis builder for use in a chained invocationpublic final ServiceRouteBindingRelationships.Builder serviceInstance(ToOneRelationship serviceInstance)
serviceInstance attribute.serviceInstance - The value for serviceInstancethis builder for use in a chained invocationpublic ServiceRouteBindingRelationships build()
ServiceRouteBindingRelationships.IllegalStateException - if any required attributes are missingCopyright © 2026. All rights reserved.