Class OperationMetricSpecification
java.lang.Object
com.azure.resourcemanager.datafactory.models.OperationMetricSpecification
Details about an operation related to metrics.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of OperationMetricSpecification class. -
Method Summary
Modifier and TypeMethodDescriptionGet the aggregationType property: The type of metric aggregation.Get the availabilities property: Defines how often data for metrics becomes available.Get the dimensions property: Defines the metric dimension.Get the displayDescription property: The description of the metric.Get the displayName property: Localized display name of the metric.Get the enableRegionalMdmAccount property: Whether or not the service is using regional MDM accounts.name()Get the name property: The name of the metric.Get the sourceMdmAccount property: The name of the MDM account.Get the sourceMdmNamespace property: The name of the MDM namespace.unit()Get the unit property: The unit that the metric is measured in.voidvalidate()Validates the instance.withAggregationType(String aggregationType) Set the aggregationType property: The type of metric aggregation.withAvailabilities(List<OperationMetricAvailability> availabilities) Set the availabilities property: Defines how often data for metrics becomes available.withDimensions(List<OperationMetricDimension> dimensions) Set the dimensions property: Defines the metric dimension.withDisplayDescription(String displayDescription) Set the displayDescription property: The description of the metric.withDisplayName(String displayName) Set the displayName property: Localized display name of the metric.withEnableRegionalMdmAccount(String enableRegionalMdmAccount) Set the enableRegionalMdmAccount property: Whether or not the service is using regional MDM accounts.Set the name property: The name of the metric.withSourceMdmAccount(String sourceMdmAccount) Set the sourceMdmAccount property: The name of the MDM account.withSourceMdmNamespace(String sourceMdmNamespace) Set the sourceMdmNamespace property: The name of the MDM namespace.Set the unit property: The unit that the metric is measured in.
-
Constructor Details
-
OperationMetricSpecification
public OperationMetricSpecification()Creates an instance of OperationMetricSpecification class.
-
-
Method Details
-
name
Get the name property: The name of the metric.- Returns:
- the name value.
-
withName
Set the name property: The name of the metric.- Parameters:
name- the name value to set.- Returns:
- the OperationMetricSpecification object itself.
-
displayName
Get the displayName property: Localized display name of the metric.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: Localized display name of the metric.- Parameters:
displayName- the displayName value to set.- Returns:
- the OperationMetricSpecification object itself.
-
displayDescription
Get the displayDescription property: The description of the metric.- Returns:
- the displayDescription value.
-
withDisplayDescription
Set the displayDescription property: The description of the metric.- Parameters:
displayDescription- the displayDescription value to set.- Returns:
- the OperationMetricSpecification object itself.
-
unit
Get the unit property: The unit that the metric is measured in.- Returns:
- the unit value.
-
withUnit
Set the unit property: The unit that the metric is measured in.- Parameters:
unit- the unit value to set.- Returns:
- the OperationMetricSpecification object itself.
-
aggregationType
Get the aggregationType property: The type of metric aggregation.- Returns:
- the aggregationType value.
-
withAggregationType
Set the aggregationType property: The type of metric aggregation.- Parameters:
aggregationType- the aggregationType value to set.- Returns:
- the OperationMetricSpecification object itself.
-
enableRegionalMdmAccount
Get the enableRegionalMdmAccount property: Whether or not the service is using regional MDM accounts.- Returns:
- the enableRegionalMdmAccount value.
-
withEnableRegionalMdmAccount
Set the enableRegionalMdmAccount property: Whether or not the service is using regional MDM accounts.- Parameters:
enableRegionalMdmAccount- the enableRegionalMdmAccount value to set.- Returns:
- the OperationMetricSpecification object itself.
-
sourceMdmAccount
Get the sourceMdmAccount property: The name of the MDM account.- Returns:
- the sourceMdmAccount value.
-
withSourceMdmAccount
Set the sourceMdmAccount property: The name of the MDM account.- Parameters:
sourceMdmAccount- the sourceMdmAccount value to set.- Returns:
- the OperationMetricSpecification object itself.
-
sourceMdmNamespace
Get the sourceMdmNamespace property: The name of the MDM namespace.- Returns:
- the sourceMdmNamespace value.
-
withSourceMdmNamespace
Set the sourceMdmNamespace property: The name of the MDM namespace.- Parameters:
sourceMdmNamespace- the sourceMdmNamespace value to set.- Returns:
- the OperationMetricSpecification object itself.
-
availabilities
Get the availabilities property: Defines how often data for metrics becomes available.- Returns:
- the availabilities value.
-
withAvailabilities
public OperationMetricSpecification withAvailabilities(List<OperationMetricAvailability> availabilities) Set the availabilities property: Defines how often data for metrics becomes available.- Parameters:
availabilities- the availabilities value to set.- Returns:
- the OperationMetricSpecification object itself.
-
dimensions
Get the dimensions property: Defines the metric dimension.- Returns:
- the dimensions value.
-
withDimensions
Set the dimensions property: Defines the metric dimension.- Parameters:
dimensions- the dimensions value to set.- Returns:
- the OperationMetricSpecification object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-