Class OperationServiceSpecification
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.OperationServiceSpecification
-
public final class OperationServiceSpecification extends Object
Details about a service operation.
-
-
Constructor Summary
Constructors Constructor Description OperationServiceSpecification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<OperationLogSpecification>logSpecifications()Get the logSpecifications property: Details about operations related to logs.List<OperationMetricSpecification>metricSpecifications()Get the metricSpecifications property: Details about operations related to metrics.voidvalidate()Validates the instance.OperationServiceSpecificationwithLogSpecifications(List<OperationLogSpecification> logSpecifications)Set the logSpecifications property: Details about operations related to logs.OperationServiceSpecificationwithMetricSpecifications(List<OperationMetricSpecification> metricSpecifications)Set the metricSpecifications property: Details about operations related to metrics.
-
-
-
Method Detail
-
logSpecifications
public List<OperationLogSpecification> logSpecifications()
Get the logSpecifications property: Details about operations related to logs.- Returns:
- the logSpecifications value.
-
withLogSpecifications
public OperationServiceSpecification withLogSpecifications(List<OperationLogSpecification> logSpecifications)
Set the logSpecifications property: Details about operations related to logs.- Parameters:
logSpecifications- the logSpecifications value to set.- Returns:
- the OperationServiceSpecification object itself.
-
metricSpecifications
public List<OperationMetricSpecification> metricSpecifications()
Get the metricSpecifications property: Details about operations related to metrics.- Returns:
- the metricSpecifications value.
-
withMetricSpecifications
public OperationServiceSpecification withMetricSpecifications(List<OperationMetricSpecification> metricSpecifications)
Set the metricSpecifications property: Details about operations related to metrics.- Parameters:
metricSpecifications- the metricSpecifications value to set.- Returns:
- the OperationServiceSpecification object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-