Class AzureMonitorMetricsDestination
- java.lang.Object
-
- com.azure.resourcemanager.monitor.models.AzureMonitorMetricsDestination
-
- Direct Known Subclasses:
DestinationsSpecAzureMonitorMetrics
public class AzureMonitorMetricsDestination extends Object
Azure Monitor Metrics destination.
-
-
Constructor Summary
Constructors Constructor Description AzureMonitorMetricsDestination()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringname()Get the name property: A friendly name for the destination.voidvalidate()Validates the instance.AzureMonitorMetricsDestinationwithName(String name)Set the name property: A friendly name for the destination.
-
-
-
Method Detail
-
name
public String name()
Get 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.- Returns:
- the name value.
-
withName
public AzureMonitorMetricsDestination 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.- Parameters:
name- the name value to set.- Returns:
- the AzureMonitorMetricsDestination object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-