public static final class IdentityZone.Builder extends Object
IdentityZone.
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 |
|---|---|
IdentityZone |
build()
Builds a new
IdentityZone. |
IdentityZone.Builder |
configuration(IdentityZoneConfiguration configuration)
Initializes the value for the
configuration attribute. |
IdentityZone.Builder |
createdAt(Long createdAt)
Initializes the value for the
createdAt attribute. |
IdentityZone.Builder |
description(String description)
Initializes the value for the
description attribute. |
IdentityZone.Builder |
from(AbstractIdentityZone instance)
Fill a builder with attribute values from the provided
org.cloudfoundry.uaa.identityzones.AbstractIdentityZone instance. |
IdentityZone.Builder |
from(IdentityZone instance)
Fill a builder with attribute values from the provided
IdentityZone instance. |
IdentityZone.Builder |
id(String id)
Initializes the value for the
id attribute. |
IdentityZone.Builder |
lastModified(Long lastModified)
Initializes the value for the
lastModified attribute. |
IdentityZone.Builder |
name(String name)
Initializes the value for the
name attribute. |
IdentityZone.Builder |
subdomain(String subdomain)
Initializes the value for the
subdomain attribute. |
IdentityZone.Builder |
version(Integer version)
Initializes the value for the
version attribute. |
public final IdentityZone.Builder from(AbstractIdentityZone instance)
org.cloudfoundry.uaa.identityzones.AbstractIdentityZone instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final IdentityZone.Builder from(IdentityZone instance)
IdentityZone instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final IdentityZone.Builder configuration(IdentityZoneConfiguration configuration)
configuration attribute.configuration - The value for configuration (can be null)this builder for use in a chained invocationpublic final IdentityZone.Builder createdAt(Long createdAt)
createdAt attribute.createdAt - The value for createdAtthis builder for use in a chained invocationpublic final IdentityZone.Builder description(String description)
description attribute.description - The value for description (can be null)this builder for use in a chained invocationpublic final IdentityZone.Builder id(String id)
id attribute.id - The value for idthis builder for use in a chained invocationpublic final IdentityZone.Builder lastModified(Long lastModified)
lastModified attribute.lastModified - The value for lastModifiedthis builder for use in a chained invocationpublic final IdentityZone.Builder name(String name)
name attribute.name - The value for namethis builder for use in a chained invocationpublic final IdentityZone.Builder subdomain(String subdomain)
subdomain attribute.subdomain - The value for subdomainthis builder for use in a chained invocationpublic final IdentityZone.Builder version(Integer version)
version attribute.version - The value for version (can be null)this builder for use in a chained invocationpublic IdentityZone build()
IdentityZone.IllegalStateException - if any required attributes are missingCopyright © 2017 Pivotal Software, Inc.. All rights reserved.