| Modifier and Type | Method and Description |
|---|---|
Domain |
build()
Builds a new
Domain. |
Domain.Builder |
from(Domain instance)
Fill a builder with attribute values from the provided
Domain instance. |
Domain.Builder |
id(String id)
Initializes the value for the
id attribute. |
Domain.Builder |
internal(Boolean internal)
Initializes the value for the
internal attribute. |
Domain.Builder |
name(String name)
Initializes the value for the
name attribute. |
Domain.Builder |
owningOrganizationId(String owningOrganizationId)
Initializes the value for the
owningOrganizationId attribute. |
Domain.Builder |
routerGroupId(String routerGroupId)
Initializes the value for the
routerGroupId attribute. |
Domain.Builder |
routerGroupType(String routerGroupType)
Initializes the value for the
routerGroupType attribute. |
public final Domain.Builder from(Domain instance)
Domain 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 Domain.Builder id(String id)
id attribute.id - The value for id (can be null)this builder for use in a chained invocationpublic final Domain.Builder internal(Boolean internal)
internal attribute.internal - The value for internal (can be null)this builder for use in a chained invocationpublic final Domain.Builder name(String name)
name attribute.name - The value for name (can be null)this builder for use in a chained invocationpublic final Domain.Builder owningOrganizationId(String owningOrganizationId)
owningOrganizationId attribute.owningOrganizationId - The value for owningOrganizationId (can be null)this builder for use in a chained invocationpublic final Domain.Builder routerGroupId(String routerGroupId)
routerGroupId attribute.routerGroupId - The value for routerGroupId (can be null)this builder for use in a chained invocationpublic final Domain.Builder routerGroupType(String routerGroupType)
routerGroupType attribute.routerGroupType - The value for routerGroupType (can be null)this builder for use in a chained invocationpublic Domain build()
Domain.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.