Package com.azure.storage.queue.models
Class QueueMetrics
java.lang.Object
com.azure.storage.queue.models.QueueMetrics
a summary of request statistics grouped by API in hour or minute aggregates for queues.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the retentionPolicy property: the retention policy.Get the version property: The version of Storage Analytics to configure.boolean
Get the enabled property: Indicates whether metrics are enabled for the Queue service.Get the includeApis property: Indicates whether metrics should generate summary statistics for called API operations.setEnabled
(boolean enabled) Set the enabled property: Indicates whether metrics are enabled for the Queue service.setIncludeApis
(Boolean includeApis) Set the includeApis property: Indicates whether metrics should generate summary statistics for called API operations.setRetentionPolicy
(QueueRetentionPolicy retentionPolicy) Set the retentionPolicy property: the retention policy.setVersion
(String version) Set the version property: The version of Storage Analytics to configure.
-
Constructor Details
-
QueueMetrics
public QueueMetrics()
-
-
Method Details
-
getVersion
Get the version property: The version of Storage Analytics to configure.- Returns:
- the version value.
-
setVersion
Set the version property: The version of Storage Analytics to configure.- Parameters:
version
- the version value to set.- Returns:
- the QueueMetrics object itself.
-
isEnabled
public boolean isEnabled()Get the enabled property: Indicates whether metrics are enabled for the Queue service.- Returns:
- the enabled value.
-
setEnabled
Set the enabled property: Indicates whether metrics are enabled for the Queue service.- Parameters:
enabled
- the enabled value to set.- Returns:
- the QueueMetrics object itself.
-
isIncludeApis
Get the includeApis property: Indicates whether metrics should generate summary statistics for called API operations.- Returns:
- the includeApis value.
-
setIncludeApis
Set the includeApis property: Indicates whether metrics should generate summary statistics for called API operations.- Parameters:
includeApis
- the includeApis value to set.- Returns:
- the QueueMetrics object itself.
-
getRetentionPolicy
Get the retentionPolicy property: the retention policy.- Returns:
- the retentionPolicy value.
-
setRetentionPolicy
Set the retentionPolicy property: the retention policy.- Parameters:
retentionPolicy
- the retentionPolicy value to set.- Returns:
- the QueueMetrics object itself.
-