Class ServiceSpecification
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.ServiceSpecification
-
public final class ServiceSpecification extends Object
Resource metrics service provided by Microsoft.Insights resource provider.
-
-
Constructor Summary
Constructors Constructor Description ServiceSpecification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<LogSpecification>logSpecifications()Get the logSpecifications property: The logSpecifications property.List<MetricSpecification>metricSpecifications()Get the metricSpecifications property: The metricSpecifications property.voidvalidate()Validates the instance.ServiceSpecificationwithLogSpecifications(List<LogSpecification> logSpecifications)Set the logSpecifications property: The logSpecifications property.ServiceSpecificationwithMetricSpecifications(List<MetricSpecification> metricSpecifications)Set the metricSpecifications property: The metricSpecifications property.
-
-
-
Method Detail
-
metricSpecifications
public List<MetricSpecification> metricSpecifications()
Get the metricSpecifications property: The metricSpecifications property.- Returns:
- the metricSpecifications value.
-
withMetricSpecifications
public ServiceSpecification withMetricSpecifications(List<MetricSpecification> metricSpecifications)
Set the metricSpecifications property: The metricSpecifications property.- Parameters:
metricSpecifications- the metricSpecifications value to set.- Returns:
- the ServiceSpecification object itself.
-
logSpecifications
public List<LogSpecification> logSpecifications()
Get the logSpecifications property: The logSpecifications property.- Returns:
- the logSpecifications value.
-
withLogSpecifications
public ServiceSpecification withLogSpecifications(List<LogSpecification> logSpecifications)
Set the logSpecifications property: The logSpecifications property.- 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.
-
-