Class Metric
- java.lang.Object
-
- io.fabric8.openshift.api.model.installer.gcp.v1.Metric
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<MetricBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class Metric extends Object implements io.fabric8.kubernetes.api.builder.Editable<MetricBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
Metric identify a quota. Service/Label matches the Google Quota API names for quota metrics- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetricBuilderedit()Map<String,Object>getAdditionalProperties()Map<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)voidsetDimensions(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)MetricBuildertoBuilder()
-
-
-
Method Detail
-
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 MetricBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<MetricBuilder>
-
toBuilder
public MetricBuilder toBuilder()
-
-