Class ApiOperationPropertiesServiceSpecification
java.lang.Object
com.azure.resourcemanager.storagecache.models.ApiOperationPropertiesServiceSpecification
Specification of the all the metrics provided for a resource type.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the logSpecifications property: Details about operations related to logs.Get the metricSpecifications property: Details about operations related to metrics.void
validate()
Validates the instance.withLogSpecifications
(List<LogSpecification> logSpecifications) Set the logSpecifications property: Details about operations related to logs.withMetricSpecifications
(List<MetricSpecification> metricSpecifications) Set the metricSpecifications property: Details about operations related to metrics.
-
Constructor Details
-
ApiOperationPropertiesServiceSpecification
public ApiOperationPropertiesServiceSpecification()
-
-
Method Details
-
metricSpecifications
Get the metricSpecifications property: Details about operations related to metrics.- Returns:
- the metricSpecifications value.
-
withMetricSpecifications
public ApiOperationPropertiesServiceSpecification withMetricSpecifications(List<MetricSpecification> metricSpecifications) Set the metricSpecifications property: Details about operations related to metrics.- Parameters:
metricSpecifications
- the metricSpecifications value to set.- Returns:
- the ApiOperationPropertiesServiceSpecification object itself.
-
logSpecifications
Get the logSpecifications property: Details about operations related to logs.- Returns:
- the logSpecifications value.
-
withLogSpecifications
public ApiOperationPropertiesServiceSpecification withLogSpecifications(List<LogSpecification> logSpecifications) Set the logSpecifications property: Details about operations related to logs.- Parameters:
logSpecifications
- the logSpecifications value to set.- Returns:
- the ApiOperationPropertiesServiceSpecification object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-