Class ServiceSpecification
java.lang.Object
com.azure.resourcemanager.netapp.models.ServiceSpecification
One property of operation, include metric specifications.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the logSpecifications property: Log specification of operation.Get the metricSpecifications property: Metric specifications of operation.void
validate()
Validates the instance.withLogSpecifications
(List<LogSpecification> logSpecifications) Set the logSpecifications property: Log specification of operation.withMetricSpecifications
(List<MetricSpecification> metricSpecifications) Set the metricSpecifications property: Metric specifications of operation.
-
Constructor Details
-
ServiceSpecification
public ServiceSpecification()
-
-
Method Details
-
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.
-
logSpecifications
Get the logSpecifications property: Log specification of operation.- Returns:
- the logSpecifications value.
-
withLogSpecifications
Set the logSpecifications property: Log specification of operation.- Parameters:
logSpecifications
- the logSpecifications value to set.- Returns:
- the ServiceSpecification object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-