Class ServiceSpecification
java.lang.Object
com.azure.resourcemanager.databoxedge.models.ServiceSpecification
Service specification.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the metricSpecifications property: Metric specification as defined by shoebox.void
validate()
Validates the instance.withMetricSpecifications
(List<MetricSpecificationV1> metricSpecifications) Set the metricSpecifications property: Metric specification as defined by shoebox.
-
Constructor Details
-
ServiceSpecification
public ServiceSpecification()Creates an instance of ServiceSpecification class.
-
-
Method Details
-
metricSpecifications
Get the metricSpecifications property: Metric specification as defined by shoebox.- Returns:
- the metricSpecifications value.
-
withMetricSpecifications
public ServiceSpecification withMetricSpecifications(List<MetricSpecificationV1> metricSpecifications) Set the metricSpecifications property: Metric specification as defined by shoebox.- 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.
-