Class QuotaUsage
- java.lang.Object
-
- io.fabric8.openshift.api.model.installer.gcp.v1.QuotaUsage
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<QuotaUsageBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class QuotaUsage extends Object implements io.fabric8.kubernetes.api.builder.Editable<QuotaUsageBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
QuotaUsage identifies a quota metric and records the usage- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description QuotaUsage()No args constructor for use in serializationQuotaUsage(Long amount, Map<String,String> dimensions, String limit, String service)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QuotaUsageBuilderedit()Map<String,Object>getAdditionalProperties()LonggetAmount()Amount is the amount of the quota being usedMap<String,String>getDimensions()Dimensions are unique axes on which this Limit is applied (e.g. region: us-central-1)StringgetLimit()Limit is the name of the item that's limited (e.g. cpus)StringgetService()Service is the Google Cloud Service to which this quota belongs (e.g. compute.googleapis.com)voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAmount(Long amount)Amount is the amount of the quota being usedvoidsetDimensions(Map<String,String> dimensions)Dimensions are unique axes on which this Limit is applied (e.g. region: us-central-1)voidsetLimit(String limit)Limit is the name of the item that's limited (e.g. cpus)voidsetService(String service)Service is the Google Cloud Service to which this quota belongs (e.g. compute.googleapis.com)QuotaUsageBuildertoBuilder()
-
-
-
Method Detail
-
getAmount
public Long getAmount()
Amount is the amount of the quota being used
-
setAmount
public void setAmount(Long amount)
Amount is the amount of the quota being used
-
getDimensions
public Map<String,String> getDimensions()
Dimensions are unique axes on which this Limit is applied (e.g. region: us-central-1)
-
setDimensions
public void setDimensions(Map<String,String> dimensions)
Dimensions are unique axes on which this Limit is applied (e.g. region: us-central-1)
-
getLimit
public String getLimit()
Limit is the name of the item that's limited (e.g. cpus)
-
setLimit
public void setLimit(String limit)
Limit is the name of the item that's limited (e.g. cpus)
-
getService
public String getService()
Service is the Google Cloud Service to which this quota belongs (e.g. compute.googleapis.com)
-
setService
public void setService(String service)
Service is the Google Cloud Service to which this quota belongs (e.g. compute.googleapis.com)
-
edit
public QuotaUsageBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<QuotaUsageBuilder>
-
toBuilder
public QuotaUsageBuilder toBuilder()
-
-