public static final class OrganizationEntity.Builder extends Object
OrganizationEntity.
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 |
|---|---|
OrganizationEntity.Builder |
applicationEventsUrl(String applicationEventsUrl)
Initializes the value for the
applicationEventsUrl attribute. |
OrganizationEntity.Builder |
auditorsUrl(String auditorsUrl)
Initializes the value for the
auditorsUrl attribute. |
OrganizationEntity.Builder |
billingEnabled(Boolean billingEnabled)
Initializes the value for the
billingEnabled attribute. |
OrganizationEntity.Builder |
billingManagersUrl(String billingManagersUrl)
Initializes the value for the
billingManagersUrl attribute. |
OrganizationEntity |
build()
Builds a new
OrganizationEntity. |
OrganizationEntity.Builder |
defaultIsolationSegmentId(String defaultIsolationSegmentId)
Initializes the value for the
defaultIsolationSegmentId attribute. |
OrganizationEntity.Builder |
domainsUrl(String domainsUrl)
Initializes the value for the
domainsUrl attribute. |
OrganizationEntity.Builder |
from(OrganizationEntity instance)
Fill a builder with attribute values from the provided
OrganizationEntity instance. |
OrganizationEntity.Builder |
isolationSegmentUrl(String isolationSegmentUrl)
Initializes the value for the
isolationSegmentUrl attribute. |
OrganizationEntity.Builder |
managersUrl(String managersUrl)
Initializes the value for the
managersUrl attribute. |
OrganizationEntity.Builder |
name(String name)
Initializes the value for the
name attribute. |
OrganizationEntity.Builder |
privateDomainsUrl(String privateDomainsUrl)
Initializes the value for the
privateDomainsUrl attribute. |
OrganizationEntity.Builder |
quotaDefinitionId(String quotaDefinitionId)
Initializes the value for the
quotaDefinitionId attribute. |
OrganizationEntity.Builder |
quotaDefinitionUrl(String quotaDefinitionUrl)
Initializes the value for the
quotaDefinitionUrl attribute. |
OrganizationEntity.Builder |
spaceQuotaDefinitionsUrl(String spaceQuotaDefinitionsUrl)
Initializes the value for the
spaceQuotaDefinitionsUrl attribute. |
OrganizationEntity.Builder |
spacesUrl(String spacesUrl)
Initializes the value for the
spacesUrl attribute. |
OrganizationEntity.Builder |
status(String status)
Initializes the value for the
status attribute. |
OrganizationEntity.Builder |
usersUrl(String usersUrl)
Initializes the value for the
usersUrl attribute. |
public final OrganizationEntity.Builder from(OrganizationEntity instance)
OrganizationEntity 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 OrganizationEntity.Builder applicationEventsUrl(String applicationEventsUrl)
applicationEventsUrl attribute.applicationEventsUrl - The value for applicationEventsUrl (can be null)this builder for use in a chained invocationpublic final OrganizationEntity.Builder auditorsUrl(String auditorsUrl)
auditorsUrl attribute.auditorsUrl - The value for auditorsUrl (can be null)this builder for use in a chained invocationpublic final OrganizationEntity.Builder billingEnabled(Boolean billingEnabled)
billingEnabled attribute.billingEnabled - The value for billingEnabled (can be null)this builder for use in a chained invocationpublic final OrganizationEntity.Builder billingManagersUrl(String billingManagersUrl)
billingManagersUrl attribute.billingManagersUrl - The value for billingManagersUrl (can be null)this builder for use in a chained invocationpublic final OrganizationEntity.Builder defaultIsolationSegmentId(String defaultIsolationSegmentId)
defaultIsolationSegmentId attribute.defaultIsolationSegmentId - The value for defaultIsolationSegmentId (can be null)this builder for use in a chained invocationpublic final OrganizationEntity.Builder domainsUrl(String domainsUrl)
domainsUrl attribute.domainsUrl - The value for domainsUrl (can be null)this builder for use in a chained invocationpublic final OrganizationEntity.Builder isolationSegmentUrl(String isolationSegmentUrl)
isolationSegmentUrl attribute.isolationSegmentUrl - The value for isolationSegmentUrl (can be null)this builder for use in a chained invocationpublic final OrganizationEntity.Builder managersUrl(String managersUrl)
managersUrl attribute.managersUrl - The value for managersUrl (can be null)this builder for use in a chained invocationpublic final OrganizationEntity.Builder name(String name)
name attribute.name - The value for name (can be null)this builder for use in a chained invocationpublic final OrganizationEntity.Builder privateDomainsUrl(String privateDomainsUrl)
privateDomainsUrl attribute.privateDomainsUrl - The value for privateDomainsUrl (can be null)this builder for use in a chained invocationpublic final OrganizationEntity.Builder quotaDefinitionId(String quotaDefinitionId)
quotaDefinitionId attribute.quotaDefinitionId - The value for quotaDefinitionId (can be null)this builder for use in a chained invocationpublic final OrganizationEntity.Builder quotaDefinitionUrl(String quotaDefinitionUrl)
quotaDefinitionUrl attribute.quotaDefinitionUrl - The value for quotaDefinitionUrl (can be null)this builder for use in a chained invocationpublic final OrganizationEntity.Builder spaceQuotaDefinitionsUrl(String spaceQuotaDefinitionsUrl)
spaceQuotaDefinitionsUrl attribute.spaceQuotaDefinitionsUrl - The value for spaceQuotaDefinitionsUrl (can be null)this builder for use in a chained invocationpublic final OrganizationEntity.Builder spacesUrl(String spacesUrl)
spacesUrl attribute.spacesUrl - The value for spacesUrl (can be null)this builder for use in a chained invocationpublic final OrganizationEntity.Builder status(String status)
status attribute.status - The value for status (can be null)this builder for use in a chained invocationpublic final OrganizationEntity.Builder usersUrl(String usersUrl)
usersUrl attribute.usersUrl - The value for usersUrl (can be null)this builder for use in a chained invocationpublic OrganizationEntity build()
OrganizationEntity.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.