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