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