OperationMetricSpecification Class
- java.
lang. Object - com.
azure. resourcemanager. datafactory. models. OperationMetricSpecification
- com.
public final class OperationMetricSpecification
Details about an operation related to metrics.
Constructor Summary
Constructor | Description |
---|---|
OperationMetricSpecification() |
Creates an instance of Operation |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
aggregationType()
Get the aggregation |
List<Operation |
availabilities()
Get the availabilities property: Defines how often data for metrics becomes available. |
List<Operation |
dimensions()
Get the dimensions property: Defines the metric dimension. |
String |
displayDescription()
Get the display |
String |
displayName()
Get the display |
String |
enableRegionalMdmAccount()
Get the enable |
String |
name()
Get the name property: The name of the metric. |
String |
sourceMdmAccount()
Get the source |
String |
sourceMdmNamespace()
Get the source |
String |
unit()
Get the unit property: The unit that the metric is measured in. |
void |
validate()
Validates the instance. |
Operation |
withAggregationType(String aggregationType)
Set the aggregation |
Operation |
withAvailabilities(List<OperationMetricAvailability> availabilities)
Set the availabilities property: Defines how often data for metrics becomes available. |
Operation |
withDimensions(List<OperationMetricDimension> dimensions)
Set the dimensions property: Defines the metric dimension. |
Operation |
withDisplayDescription(String displayDescription)
Set the display |
Operation |
withDisplayName(String displayName)
Set the display |
Operation |
withEnableRegionalMdmAccount(String enableRegionalMdmAccount)
Set the enable |
Operation |
withName(String name)
Set the name property: The name of the metric. |
Operation |
withSourceMdmAccount(String sourceMdmAccount)
Set the source |
Operation |
withSourceMdmNamespace(String sourceMdmNamespace)
Set the source |
Operation |
withUnit(String unit)
Set the unit property: The unit that the metric is measured in. |
Methods inherited from java.lang.Object
Constructor Details
OperationMetricSpecification
public OperationMetricSpecification()
Creates an instance of OperationMetricSpecification class.
Method Details
aggregationType
public String aggregationType()
Get the aggregationType property: The type of metric aggregation.
Returns:
availabilities
public List
Get the availabilities property: Defines how often data for metrics becomes available.
Returns:
dimensions
public List
Get the dimensions property: Defines the metric dimension.
Returns:
displayDescription
public String displayDescription()
Get the displayDescription property: The description of the metric.
Returns:
displayName
public String displayName()
Get the displayName property: Localized display name of the metric.
Returns:
enableRegionalMdmAccount
public String enableRegionalMdmAccount()
Get the enableRegionalMdmAccount property: Whether or not the service is using regional MDM accounts.
Returns:
name
public String name()
Get the name property: The name of the metric.
Returns:
sourceMdmAccount
public String sourceMdmAccount()
Get the sourceMdmAccount property: The name of the MDM account.
Returns:
sourceMdmNamespace
public String sourceMdmNamespace()
Get the sourceMdmNamespace property: The name of the MDM namespace.
Returns:
unit
public String unit()
Get the unit property: The unit that the metric is measured in.
Returns:
validate
public void validate()
Validates the instance.
withAggregationType
public OperationMetricSpecification withAggregationType(String aggregationType)
Set the aggregationType property: The type of metric aggregation.
Parameters:
Returns:
withAvailabilities
public OperationMetricSpecification withAvailabilities(List
Set the availabilities property: Defines how often data for metrics becomes available.
Parameters:
Returns:
withDimensions
public OperationMetricSpecification withDimensions(List
Set the dimensions property: Defines the metric dimension.
Parameters:
Returns:
withDisplayDescription
public OperationMetricSpecification withDisplayDescription(String displayDescription)
Set the displayDescription property: The description of the metric.
Parameters:
Returns:
withDisplayName
public OperationMetricSpecification withDisplayName(String displayName)
Set the displayName property: Localized display name of the metric.
Parameters:
Returns:
withEnableRegionalMdmAccount
public OperationMetricSpecification withEnableRegionalMdmAccount(String enableRegionalMdmAccount)
Set the enableRegionalMdmAccount property: Whether or not the service is using regional MDM accounts.
Parameters:
Returns:
withName
public OperationMetricSpecification withName(String name)
Set the name property: The name of the metric.
Parameters:
Returns:
withSourceMdmAccount
public OperationMetricSpecification withSourceMdmAccount(String sourceMdmAccount)
Set the sourceMdmAccount property: The name of the MDM account.
Parameters:
Returns:
withSourceMdmNamespace
public OperationMetricSpecification withSourceMdmNamespace(String sourceMdmNamespace)
Set the sourceMdmNamespace property: The name of the MDM namespace.
Parameters:
Returns:
withUnit
public OperationMetricSpecification withUnit(String unit)
Set the unit property: The unit that the metric is measured in.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for