Class OperationMetricAvailability
java.lang.Object
com.azure.resourcemanager.datafactory.models.OperationMetricAvailability
Defines how often data for a metric becomes available.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of OperationMetricAvailability class. -
Method Summary
Modifier and TypeMethodDescriptionGet the blobDuration property: Blob created in the customer storage account, per hour.Get the timeGrain property: The granularity for the metric.voidvalidate()Validates the instance.withBlobDuration(String blobDuration) Set the blobDuration property: Blob created in the customer storage account, per hour.withTimeGrain(String timeGrain) Set the timeGrain property: The granularity for the metric.
-
Constructor Details
-
OperationMetricAvailability
public OperationMetricAvailability()Creates an instance of OperationMetricAvailability class.
-
-
Method Details
-
timeGrain
Get the timeGrain property: The granularity for the metric.- Returns:
- the timeGrain value.
-
withTimeGrain
Set the timeGrain property: The granularity for the metric.- Parameters:
timeGrain- the timeGrain value to set.- Returns:
- the OperationMetricAvailability object itself.
-
blobDuration
Get the blobDuration property: Blob created in the customer storage account, per hour.- Returns:
- the blobDuration value.
-
withBlobDuration
Set the blobDuration property: Blob created in the customer storage account, per hour.- Parameters:
blobDuration- the blobDuration value to set.- Returns:
- the OperationMetricAvailability object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-