Class ServiceSpecification
- java.lang.Object
-
- com.azure.resourcemanager.storage.models.ServiceSpecification
-
public final class ServiceSpecification extends Object
One property of operation, include metric specifications.
-
-
Constructor Summary
Constructors Constructor Description ServiceSpecification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<MetricSpecification>metricSpecifications()Get the metricSpecifications property: Metric specifications of operation.voidvalidate()Validates the instance.ServiceSpecificationwithMetricSpecifications(List<MetricSpecification> metricSpecifications)Set the metricSpecifications property: Metric specifications of operation.
-
-
-
Method Detail
-
metricSpecifications
public List<MetricSpecification> metricSpecifications()
Get the metricSpecifications property: Metric specifications of operation.- Returns:
- the metricSpecifications value.
-
withMetricSpecifications
public ServiceSpecification withMetricSpecifications(List<MetricSpecification> metricSpecifications)
Set the metricSpecifications property: Metric specifications of operation.- Parameters:
metricSpecifications- the metricSpecifications value to set.- Returns:
- the ServiceSpecification object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-