public final class OperationMetaServiceSpecification extends Object
Constructor and Description |
---|
OperationMetaServiceSpecification() |
Modifier and Type | Method and Description |
---|---|
List<OperationMetaLogSpecification> |
logSpecifications()
Get the logSpecifications property: log specifications for the operation.
|
List<OperationMetaMetricSpecification> |
metricSpecifications()
Get the metricSpecifications property: metric specifications for the operation.
|
void |
validate()
Validates the instance.
|
OperationMetaServiceSpecification |
withLogSpecifications(List<OperationMetaLogSpecification> logSpecifications)
Set the logSpecifications property: log specifications for the operation.
|
OperationMetaServiceSpecification |
withMetricSpecifications(List<OperationMetaMetricSpecification> metricSpecifications)
Set the metricSpecifications property: metric specifications for the operation.
|
public List<OperationMetaLogSpecification> logSpecifications()
public OperationMetaServiceSpecification withLogSpecifications(List<OperationMetaLogSpecification> logSpecifications)
logSpecifications
- the logSpecifications value to set.public List<OperationMetaMetricSpecification> metricSpecifications()
public OperationMetaServiceSpecification withMetricSpecifications(List<OperationMetaMetricSpecification> metricSpecifications)
metricSpecifications
- the metricSpecifications value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.