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