public static final class SelfServiceLink.Builder extends Object
SelfServiceLink.
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 |
|---|---|
SelfServiceLink |
build()
Builds a new
SelfServiceLink. |
SelfServiceLink.Builder |
from(SelfServiceLink instance)
Fill a builder with attribute values from the provided
SelfServiceLink instance. |
SelfServiceLink.Builder |
resetPasswordLink(String resetPasswordLink)
Initializes the value for the
resetPasswordLink attribute. |
SelfServiceLink.Builder |
selfServiceLinksEnabled(Boolean selfServiceLinksEnabled)
Initializes the value for the
selfServiceLinksEnabled attribute. |
SelfServiceLink.Builder |
signupLink(String signupLink)
Initializes the value for the
signupLink attribute. |
public final SelfServiceLink.Builder from(SelfServiceLink instance)
SelfServiceLink 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 SelfServiceLink.Builder resetPasswordLink(String resetPasswordLink)
resetPasswordLink attribute.resetPasswordLink - The value for resetPasswordLink (can be null)this builder for use in a chained invocationpublic final SelfServiceLink.Builder selfServiceLinksEnabled(Boolean selfServiceLinksEnabled)
selfServiceLinksEnabled attribute.selfServiceLinksEnabled - The value for selfServiceLinksEnabled (can be null)this builder for use in a chained invocationpublic final SelfServiceLink.Builder signupLink(String signupLink)
signupLink attribute.signupLink - The value for signupLink (can be null)this builder for use in a chained invocationpublic SelfServiceLink build()
SelfServiceLink.IllegalStateException - if any required attributes are missingCopyright © 2017 Pivotal Software, Inc.. All rights reserved.