| Modifier and Type | Method and Description |
|---|---|
Group |
build()
Builds a new
Group. |
Group.Builder |
display(String display)
Initializes the value for the
display attribute. |
Group.Builder |
from(Group instance)
Fill a builder with attribute values from the provided
Group instance. |
Group.Builder |
type(MembershipType type)
Initializes the value for the
type attribute. |
Group.Builder |
value(String value)
Initializes the value for the
value attribute. |
public final Group.Builder from(Group instance)
Group 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 Group.Builder display(String display)
display attribute.display - The value for displaythis builder for use in a chained invocationpublic final Group.Builder type(MembershipType type)
type attribute.type - The value for typethis builder for use in a chained invocationpublic final Group.Builder value(String value)
value attribute.value - The value for valuethis builder for use in a chained invocationpublic Group build()
Group.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.