ServiceSpecification Class

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

public final class ServiceSpecification

An object that describes a specification.

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: Specifications of the Logs for Azure Monitoring.

List<MetricSpecification> metricSpecifications()

Get the metricSpecifications property: Specifications of the Metrics for Azure Monitoring.

void validate()

Validates the instance.

ServiceSpecification withLogSpecifications(List<LogSpecification> logSpecifications)

Set the logSpecifications property: Specifications of the Logs for Azure Monitoring.

ServiceSpecification withMetricSpecifications(List<MetricSpecification> metricSpecifications)

Set the metricSpecifications property: Specifications of the Metrics for Azure Monitoring.

Methods inherited from java.lang.Object

Constructor Details

ServiceSpecification

public ServiceSpecification()

Creates an instance of ServiceSpecification class.

Method Details

logSpecifications

public List<LogSpecification> logSpecifications()

Get the logSpecifications property: Specifications of the Logs for Azure Monitoring.

Returns:

the logSpecifications value.

metricSpecifications

public List<MetricSpecification> metricSpecifications()

Get the metricSpecifications property: Specifications of the Metrics for Azure Monitoring.

Returns:

the metricSpecifications value.

validate

public void validate()

Validates the instance.

withLogSpecifications

public ServiceSpecification withLogSpecifications(List<LogSpecification> logSpecifications)

Set the logSpecifications property: Specifications of the Logs for Azure Monitoring.

Parameters:

logSpecifications - the logSpecifications value to set.

Returns:

the ServiceSpecification object itself.

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.

Applies to