Class DestinationsSpecAzureMonitorMetrics
- java.lang.Object
-
- com.azure.resourcemanager.monitor.models.AzureMonitorMetricsDestination
-
- com.azure.resourcemanager.monitor.models.DestinationsSpecAzureMonitorMetrics
-
public final class DestinationsSpecAzureMonitorMetrics extends AzureMonitorMetricsDestination
Azure Monitor Metrics destination.
-
-
Constructor Summary
Constructors Constructor Description DestinationsSpecAzureMonitorMetrics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidate()Validates the instance.DestinationsSpecAzureMonitorMetricswithName(String name)Set the name property: A friendly name for the destination.-
Methods inherited from class com.azure.resourcemanager.monitor.models.AzureMonitorMetricsDestination
name
-
-
-
-
Method Detail
-
withName
public DestinationsSpecAzureMonitorMetrics withName(String name)
Set the name property: A friendly name for the destination. This name should be unique across all destinations (regardless of type) within the data collection rule.- Overrides:
withNamein classAzureMonitorMetricsDestination- Parameters:
name- the name value to set.- Returns:
- the AzureMonitorMetricsDestination object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classAzureMonitorMetricsDestination- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-