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