Class OperationMetricAvailability
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.OperationMetricAvailability
-
public final class OperationMetricAvailability extends Object
Defines how often data for a metric becomes available.
-
-
Constructor Summary
Constructors Constructor Description OperationMetricAvailability()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
blobDuration()
Get the blobDuration property: Blob created in the customer storage account, per hour.String
timeGrain()
Get the timeGrain property: The granularity for the metric.void
validate()
Validates the instance.OperationMetricAvailability
withBlobDuration(String blobDuration)
Set the blobDuration property: Blob created in the customer storage account, per hour.OperationMetricAvailability
withTimeGrain(String timeGrain)
Set the timeGrain property: The granularity for the metric.
-
-
-
Method Detail
-
timeGrain
public String timeGrain()
Get the timeGrain property: The granularity for the metric.- Returns:
- the timeGrain value.
-
withTimeGrain
public OperationMetricAvailability withTimeGrain(String timeGrain)
Set the timeGrain property: The granularity for the metric.- Parameters:
timeGrain
- the timeGrain value to set.- Returns:
- the OperationMetricAvailability object itself.
-
blobDuration
public String blobDuration()
Get the blobDuration property: Blob created in the customer storage account, per hour.- Returns:
- the blobDuration value.
-
withBlobDuration
public OperationMetricAvailability withBlobDuration(String blobDuration)
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.
-
-