public static final class SpaceQuotaDefinitionEntity.Builder extends Object
SpaceQuotaDefinitionEntity.
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 |
|---|---|
SpaceQuotaDefinitionEntity.Builder |
applicationInstanceLimit(Integer applicationInstanceLimit)
Initializes the value for the
applicationInstanceLimit attribute. |
SpaceQuotaDefinitionEntity.Builder |
applicationTaskLimit(Integer applicationTaskLimit)
Initializes the value for the
applicationTaskLimit attribute. |
SpaceQuotaDefinitionEntity |
build()
Builds a new
SpaceQuotaDefinitionEntity. |
SpaceQuotaDefinitionEntity.Builder |
from(SpaceQuotaDefinitionEntity instance)
Fill a builder with attribute values from the provided
SpaceQuotaDefinitionEntity instance. |
SpaceQuotaDefinitionEntity.Builder |
instanceMemoryLimit(Integer instanceMemoryLimit)
Initializes the value for the
instanceMemoryLimit attribute. |
SpaceQuotaDefinitionEntity.Builder |
memoryLimit(Integer memoryLimit)
Initializes the value for the
memoryLimit attribute. |
SpaceQuotaDefinitionEntity.Builder |
name(String name)
Initializes the value for the
name attribute. |
SpaceQuotaDefinitionEntity.Builder |
nonBasicServicesAllowed(Boolean nonBasicServicesAllowed)
Initializes the value for the
nonBasicServicesAllowed attribute. |
SpaceQuotaDefinitionEntity.Builder |
organizationId(String organizationId)
Initializes the value for the
organizationId attribute. |
SpaceQuotaDefinitionEntity.Builder |
organizationUrl(String organizationUrl)
Initializes the value for the
organizationUrl attribute. |
SpaceQuotaDefinitionEntity.Builder |
spacesUrl(String spacesUrl)
Initializes the value for the
spacesUrl attribute. |
SpaceQuotaDefinitionEntity.Builder |
totalReservedRoutePorts(Integer totalReservedRoutePorts)
Initializes the value for the
totalReservedRoutePorts attribute. |
SpaceQuotaDefinitionEntity.Builder |
totalRoutes(Integer totalRoutes)
Initializes the value for the
totalRoutes attribute. |
SpaceQuotaDefinitionEntity.Builder |
totalServiceKeys(Integer totalServiceKeys)
Initializes the value for the
totalServiceKeys attribute. |
SpaceQuotaDefinitionEntity.Builder |
totalServices(Integer totalServices)
Initializes the value for the
totalServices attribute. |
public final SpaceQuotaDefinitionEntity.Builder from(SpaceQuotaDefinitionEntity instance)
SpaceQuotaDefinitionEntity 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 SpaceQuotaDefinitionEntity.Builder applicationInstanceLimit(Integer applicationInstanceLimit)
applicationInstanceLimit attribute.applicationInstanceLimit - The value for applicationInstanceLimit (can be null)this builder for use in a chained invocationpublic final SpaceQuotaDefinitionEntity.Builder applicationTaskLimit(Integer applicationTaskLimit)
applicationTaskLimit attribute.applicationTaskLimit - The value for applicationTaskLimit (can be null)this builder for use in a chained invocationpublic final SpaceQuotaDefinitionEntity.Builder instanceMemoryLimit(Integer instanceMemoryLimit)
instanceMemoryLimit attribute.instanceMemoryLimit - The value for instanceMemoryLimit (can be null)this builder for use in a chained invocationpublic final SpaceQuotaDefinitionEntity.Builder memoryLimit(Integer memoryLimit)
memoryLimit attribute.memoryLimit - The value for memoryLimit (can be null)this builder for use in a chained invocationpublic final SpaceQuotaDefinitionEntity.Builder name(String name)
name attribute.name - The value for name (can be null)this builder for use in a chained invocationpublic final SpaceQuotaDefinitionEntity.Builder nonBasicServicesAllowed(Boolean nonBasicServicesAllowed)
nonBasicServicesAllowed attribute.nonBasicServicesAllowed - The value for nonBasicServicesAllowed (can be null)this builder for use in a chained invocationpublic final SpaceQuotaDefinitionEntity.Builder organizationId(String organizationId)
organizationId attribute.organizationId - The value for organizationId (can be null)this builder for use in a chained invocationpublic final SpaceQuotaDefinitionEntity.Builder organizationUrl(String organizationUrl)
organizationUrl attribute.organizationUrl - The value for organizationUrl (can be null)this builder for use in a chained invocationpublic final SpaceQuotaDefinitionEntity.Builder spacesUrl(String spacesUrl)
spacesUrl attribute.spacesUrl - The value for spacesUrl (can be null)this builder for use in a chained invocationpublic final SpaceQuotaDefinitionEntity.Builder totalReservedRoutePorts(Integer totalReservedRoutePorts)
totalReservedRoutePorts attribute.totalReservedRoutePorts - The value for totalReservedRoutePorts (can be null)this builder for use in a chained invocationpublic final SpaceQuotaDefinitionEntity.Builder totalRoutes(Integer totalRoutes)
totalRoutes attribute.totalRoutes - The value for totalRoutes (can be null)this builder for use in a chained invocationpublic final SpaceQuotaDefinitionEntity.Builder totalServiceKeys(Integer totalServiceKeys)
totalServiceKeys attribute.totalServiceKeys - The value for totalServiceKeys (can be null)this builder for use in a chained invocationpublic final SpaceQuotaDefinitionEntity.Builder totalServices(Integer totalServices)
totalServices attribute.totalServices - The value for totalServices (can be null)this builder for use in a chained invocationpublic SpaceQuotaDefinitionEntity build()
SpaceQuotaDefinitionEntity.IllegalStateException - if any required attributes are missingCopyright © 2017 Pivotal Software, Inc.. All rights reserved.