public static class ResourceQuotumSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ResourceQuotumSummary.Builder |
affectedResource(String affectedResource)
The affected resource name.
|
ResourceQuotumSummary.Builder |
balance(Double balance)
The quota balance.
|
ResourceQuotumSummary |
build() |
ResourceQuotumSummary.Builder |
copy(ResourceQuotumSummary model) |
ResourceQuotumSummary.Builder |
isAllowed(Boolean isAllowed)
Used to indicate if further quota consumption isAllowed.
|
ResourceQuotumSummary.Builder |
isDependency(Boolean isDependency)
Used to indicate any resource dependencies.
|
ResourceQuotumSummary.Builder |
isOverage(Boolean isOverage)
Used to indicate if overages are incurred.
|
ResourceQuotumSummary.Builder |
limit(Double limit)
The quota limit.
|
ResourceQuotumSummary.Builder |
name(String name)
The resource name.
|
ResourceQuotumSummary.Builder |
purchasedLimit(Double purchasedLimit)
The purchased quota limit.
|
ResourceQuotumSummary.Builder |
service(String service)
The service name.
|
public ResourceQuotumSummary.Builder name(String name)
The resource name.
name
- the value to setpublic ResourceQuotumSummary.Builder isAllowed(Boolean isAllowed)
Used to indicate if further quota consumption isAllowed.
isAllowed
- the value to setpublic ResourceQuotumSummary.Builder limit(Double limit)
The quota limit.
limit
- the value to setpublic ResourceQuotumSummary.Builder balance(Double balance)
The quota balance.
balance
- the value to setpublic ResourceQuotumSummary.Builder isOverage(Boolean isOverage)
Used to indicate if overages are incurred.
isOverage
- the value to setpublic ResourceQuotumSummary.Builder purchasedLimit(Double purchasedLimit)
The purchased quota limit.
purchasedLimit
- the value to setpublic ResourceQuotumSummary.Builder service(String service)
The service name.
service
- the value to setpublic ResourceQuotumSummary.Builder isDependency(Boolean isDependency)
Used to indicate any resource dependencies.
isDependency
- the value to setpublic ResourceQuotumSummary.Builder affectedResource(String affectedResource)
The affected resource name.
affectedResource
- the value to setpublic ResourceQuotumSummary build()
public ResourceQuotumSummary.Builder copy(ResourceQuotumSummary model)
Copyright © 2016–2024. All rights reserved.