Class OperationMetaServiceSpecification
java.lang.Object
com.azure.resourcemanager.purview.models.OperationMetaServiceSpecification
The operation meta service specification.
-
Constructor Summary
ConstructorDescriptionCreates an instance of OperationMetaServiceSpecification class. -
Method Summary
Modifier and TypeMethodDescriptionGet the logSpecifications property: log specifications for the operation.Get the metricSpecifications property: metric specifications for the operation.void
validate()
Validates the instance.withLogSpecifications
(List<OperationMetaLogSpecification> logSpecifications) Set the logSpecifications property: log specifications for the operation.withMetricSpecifications
(List<OperationMetaMetricSpecification> metricSpecifications) Set the metricSpecifications property: metric specifications for the operation.
-
Constructor Details
-
OperationMetaServiceSpecification
public OperationMetaServiceSpecification()Creates an instance of OperationMetaServiceSpecification class.
-
-
Method Details
-
logSpecifications
Get the logSpecifications property: log specifications for the operation.- Returns:
- the logSpecifications value.
-
withLogSpecifications
public OperationMetaServiceSpecification withLogSpecifications(List<OperationMetaLogSpecification> logSpecifications) Set the logSpecifications property: log specifications for the operation.- Parameters:
logSpecifications
- the logSpecifications value to set.- Returns:
- the OperationMetaServiceSpecification object itself.
-
metricSpecifications
Get the metricSpecifications property: metric specifications for the operation.- Returns:
- the metricSpecifications value.
-
withMetricSpecifications
public OperationMetaServiceSpecification withMetricSpecifications(List<OperationMetaMetricSpecification> metricSpecifications) Set the metricSpecifications property: metric specifications for the operation.- Parameters:
metricSpecifications
- the metricSpecifications value to set.- Returns:
- the OperationMetaServiceSpecification object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-