public static class LimitValueSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
LimitValueSummary.Builder |
availabilityDomain(String availabilityDomain)
If present, the returned value is only specific to this availability domain.
|
LimitValueSummary |
build() |
LimitValueSummary.Builder |
copy(LimitValueSummary model) |
LimitValueSummary.Builder |
name(String name)
The resource limit name.
|
LimitValueSummary.Builder |
scopeType(LimitValueSummary.ScopeType scopeType)
The scope type of the limit.
|
LimitValueSummary.Builder |
value(Long value)
The resource limit value.
|
public LimitValueSummary.Builder name(String name)
The resource limit name. To be used for writing policies (in case of quotas) or other programmatic calls.
name
- the value to setpublic LimitValueSummary.Builder scopeType(LimitValueSummary.ScopeType scopeType)
The scope type of the limit.
scopeType
- the value to setpublic LimitValueSummary.Builder availabilityDomain(String availabilityDomain)
If present, the returned value is only specific to this availability domain.
availabilityDomain
- the value to setpublic LimitValueSummary.Builder value(Long value)
The resource limit value.
value
- the value to setpublic LimitValueSummary build()
public LimitValueSummary.Builder copy(LimitValueSummary model)
Copyright © 2016–2024. All rights reserved.