ServiceSpecification Class
- java.
lang. Object - com.
azure. resourcemanager. webpubsub. models. ServiceSpecification
- com.
public final class ServiceSpecification
An object that describes a specification.
Constructor Summary
| Constructor | Description |
|---|---|
| ServiceSpecification() |
Creates an instance of Service |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Log |
logSpecifications()
Get the log |
|
List<Metric |
metricSpecifications()
Get the metric |
| void |
validate()
Validates the instance. |
|
Service |
withLogSpecifications(List<LogSpecification> logSpecifications)
Set the log |
|
Service |
withMetricSpecifications(List<MetricSpecification> metricSpecifications)
Set the metric |
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:
metricSpecifications
public List<MetricSpecification> metricSpecifications()
Get the metricSpecifications property: Specifications of the Metrics for Azure Monitoring.
Returns:
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:
Returns:
withMetricSpecifications
public ServiceSpecification withMetricSpecifications(List<MetricSpecification> metricSpecifications)
Set the metricSpecifications property: Specifications of the Metrics for Azure Monitoring.
Parameters:
Returns: