ServiceSpecification Class

  • java.lang.Object
    • com.azure.resourcemanager.timeseriesinsights.models.ServiceSpecification

public final class ServiceSpecification

One property of operation, include metric specifications.

Constructor Summary

Constructor Description
ServiceSpecification()

Creates an instance of ServiceSpecification class.

Method Summary

Modifier and Type Method and Description
List<LogSpecification> logSpecifications()

Get the logSpecifications property: A list of Azure Monitoring log definitions.

List<MetricSpecification> metricSpecifications()

Get the metricSpecifications property: Metric specifications of operation.

void validate()

Validates the instance.

ServiceSpecification withLogSpecifications(List<LogSpecification> logSpecifications)

Set the logSpecifications property: A list of Azure Monitoring log definitions.

ServiceSpecification withMetricSpecifications(List<MetricSpecification> metricSpecifications)

Set the metricSpecifications property: Metric specifications of operation.

Methods inherited from java.lang.Object

Constructor Details

ServiceSpecification

public ServiceSpecification()

Creates an instance of ServiceSpecification class.

Method Details

logSpecifications

public List logSpecifications()

Get the logSpecifications property: A list of Azure Monitoring log definitions.

Returns:

the logSpecifications value.

metricSpecifications

public List metricSpecifications()

Get the metricSpecifications property: Metric specifications of operation.

Returns:

the metricSpecifications value.

validate

public void validate()

Validates the instance.

withLogSpecifications

public ServiceSpecification withLogSpecifications(List logSpecifications)

Set the logSpecifications property: A list of Azure Monitoring log definitions.

Parameters:

logSpecifications - the logSpecifications value to set.

Returns:

the ServiceSpecification object itself.

withMetricSpecifications

public ServiceSpecification withMetricSpecifications(List metricSpecifications)

Set the metricSpecifications property: Metric specifications of operation.

Parameters:

metricSpecifications - the metricSpecifications value to set.

Returns:

the ServiceSpecification object itself.

Applies to