| Modifier and Type | Method and Description |
|---|---|
CreatedBy |
build()
Builds a new
CreatedBy. |
CreatedBy.Builder |
email(String email)
Initializes the value for the
email attribute. |
CreatedBy.Builder |
from(CreatedBy instance)
Fill a builder with attribute values from the provided
CreatedBy instance. |
CreatedBy.Builder |
id(String id)
Initializes the value for the
id attribute. |
CreatedBy.Builder |
name(String name)
Initializes the value for the
name attribute. |
public final CreatedBy.Builder from(CreatedBy instance)
CreatedBy 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 CreatedBy.Builder email(String email)
email attribute.email - The value for emailthis builder for use in a chained invocationpublic final CreatedBy.Builder id(String id)
id attribute.id - The value for idthis builder for use in a chained invocationpublic final CreatedBy.Builder name(String name)
name attribute.name - The value for namethis builder for use in a chained invocationpublic CreatedBy build()
CreatedBy.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.