public static final class ProcessRelationships.Builder extends Object
ProcessRelationships.
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 |
|---|---|
ProcessRelationships.Builder |
app(ToOneRelationship app)
Initializes the value for the
app attribute. |
ProcessRelationships |
build()
Builds a new
ProcessRelationships. |
ProcessRelationships.Builder |
from(ProcessRelationships instance)
Fill a builder with attribute values from the provided
ProcessRelationships instance. |
ProcessRelationships.Builder |
revision(ToOneRelationship revision)
Initializes the value for the
revision attribute. |
public final ProcessRelationships.Builder from(ProcessRelationships instance)
ProcessRelationships 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 ProcessRelationships.Builder app(ToOneRelationship app)
app attribute.app - The value for app (can be null)this builder for use in a chained invocationpublic final ProcessRelationships.Builder revision(ToOneRelationship revision)
revision attribute.revision - The value for revision (can be null)this builder for use in a chained invocationpublic ProcessRelationships build()
ProcessRelationships.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.