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