Class ServiceSpecification
java.lang.Object
com.azure.resourcemanager.appconfiguration.models.ServiceSpecification
Service specification payload.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the logSpecifications property: Specifications of the Log for Azure Monitoring.Get the metricSpecifications property: Specifications of the Metrics for Azure Monitoring.void
validate()
Validates the instance.withLogSpecifications
(List<LogSpecification> logSpecifications) Set the logSpecifications property: Specifications of the Log for Azure Monitoring.withMetricSpecifications
(List<MetricSpecification> metricSpecifications) Set the metricSpecifications property: Specifications of the Metrics for Azure Monitoring.
-
Constructor Details
-
ServiceSpecification
public ServiceSpecification()
-
-
Method Details
-
logSpecifications
Get the logSpecifications property: Specifications of the Log for Azure Monitoring.- Returns:
- the logSpecifications value.
-
withLogSpecifications
Set the logSpecifications property: Specifications of the Log for Azure Monitoring.- Parameters:
logSpecifications
- the logSpecifications value to set.- Returns:
- the ServiceSpecification object itself.
-
metricSpecifications
Get the metricSpecifications property: Specifications of the Metrics for Azure Monitoring.- Returns:
- the metricSpecifications value.
-
withMetricSpecifications
public ServiceSpecification withMetricSpecifications(List<MetricSpecification> metricSpecifications) Set the metricSpecifications property: Specifications of the Metrics for Azure Monitoring.- 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.
-