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