public static final class VerifyUserResponse.Builder extends Object
VerifyUserResponse.
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 |
|---|---|
VerifyUserResponse.Builder |
active(Boolean active)
Initializes the value for the
active attribute. |
VerifyUserResponse.Builder |
addAllEmail(Iterable<? extends Email> elements)
Adds elements to
email list. |
VerifyUserResponse.Builder |
addAllSchemas(Iterable<String> elements)
Adds elements to
schemas list. |
VerifyUserResponse |
build()
Builds a new
VerifyUserResponse. |
VerifyUserResponse.Builder |
email(Email... elements)
Adds elements to
email list. |
VerifyUserResponse.Builder |
email(Email element)
Adds one element to
email list. |
VerifyUserResponse.Builder |
email(Iterable<? extends Email> elements)
Sets or replaces all elements for
email list. |
VerifyUserResponse.Builder |
from(AbstractUserId instance)
Fill a builder with attribute values from the provided
org.cloudfoundry.uaa.users.AbstractUserId instance. |
VerifyUserResponse.Builder |
from(AbstractUserSummary instance)
Fill a builder with attribute values from the provided
org.cloudfoundry.uaa.users.AbstractUserSummary instance. |
VerifyUserResponse.Builder |
from(VerifyUserResponse instance)
Fill a builder with attribute values from the provided
VerifyUserResponse instance. |
VerifyUserResponse.Builder |
id(String id)
Initializes the value for the
id attribute. |
VerifyUserResponse.Builder |
meta(Meta meta)
Initializes the value for the
meta attribute. |
VerifyUserResponse.Builder |
name(Name name)
Initializes the value for the
name attribute. |
VerifyUserResponse.Builder |
origin(String origin)
Initializes the value for the
origin attribute. |
VerifyUserResponse.Builder |
passwordLastModified(String passwordLastModified)
Initializes the value for the
passwordLastModified attribute. |
VerifyUserResponse.Builder |
schema(String... elements)
Adds elements to
schemas list. |
VerifyUserResponse.Builder |
schema(String element)
Adds one element to
schemas list. |
VerifyUserResponse.Builder |
schemas(Iterable<String> elements)
Sets or replaces all elements for
schemas list. |
VerifyUserResponse.Builder |
userName(String userName)
Initializes the value for the
userName attribute. |
VerifyUserResponse.Builder |
verified(Boolean verified)
Initializes the value for the
verified attribute. |
VerifyUserResponse.Builder |
zoneId(String zoneId)
Initializes the value for the
zoneId attribute. |
public final VerifyUserResponse.Builder from(AbstractUserSummary instance)
org.cloudfoundry.uaa.users.AbstractUserSummary instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final VerifyUserResponse.Builder from(AbstractUserId instance)
org.cloudfoundry.uaa.users.AbstractUserId instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final VerifyUserResponse.Builder from(VerifyUserResponse instance)
VerifyUserResponse instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final VerifyUserResponse.Builder active(Boolean active)
active attribute.active - The value for activethis builder for use in a chained invocationpublic final VerifyUserResponse.Builder email(Email element)
email list.element - A email elementthis builder for use in a chained invocationpublic final VerifyUserResponse.Builder email(Email... elements)
email list.elements - An array of email elementsthis builder for use in a chained invocationpublic final VerifyUserResponse.Builder email(Iterable<? extends Email> elements)
email list.elements - An iterable of email elementsthis builder for use in a chained invocationpublic final VerifyUserResponse.Builder addAllEmail(Iterable<? extends Email> elements)
email list.elements - An iterable of email elementsthis builder for use in a chained invocationpublic final VerifyUserResponse.Builder meta(Meta meta)
meta attribute.meta - The value for metathis builder for use in a chained invocationpublic final VerifyUserResponse.Builder name(Name name)
name attribute.name - The value for namethis builder for use in a chained invocationpublic final VerifyUserResponse.Builder passwordLastModified(String passwordLastModified)
passwordLastModified attribute.passwordLastModified - The value for passwordLastModifiedthis builder for use in a chained invocationpublic final VerifyUserResponse.Builder schema(String element)
schemas list.element - A schemas elementthis builder for use in a chained invocationpublic final VerifyUserResponse.Builder schema(String... elements)
schemas list.elements - An array of schemas elementsthis builder for use in a chained invocationpublic final VerifyUserResponse.Builder schemas(Iterable<String> elements)
schemas list.elements - An iterable of schemas elementsthis builder for use in a chained invocationpublic final VerifyUserResponse.Builder addAllSchemas(Iterable<String> elements)
schemas list.elements - An iterable of schemas elementsthis builder for use in a chained invocationpublic final VerifyUserResponse.Builder verified(Boolean verified)
verified attribute.verified - The value for verifiedthis builder for use in a chained invocationpublic final VerifyUserResponse.Builder zoneId(String zoneId)
zoneId attribute.zoneId - The value for zoneIdthis builder for use in a chained invocationpublic final VerifyUserResponse.Builder id(String id)
id attribute.id - The value for idthis builder for use in a chained invocationpublic final VerifyUserResponse.Builder origin(String origin)
origin attribute.origin - The value for originthis builder for use in a chained invocationpublic final VerifyUserResponse.Builder userName(String userName)
userName attribute.userName - The value for userNamethis builder for use in a chained invocationpublic VerifyUserResponse build()
VerifyUserResponse.IllegalStateException - if any required attributes are missingCopyright © 2017 Pivotal Software, Inc.. All rights reserved.