Class MonitorServiceDetails
java.lang.Object
com.azure.resourcemanager.alertsmanagement.models.MonitorServiceDetails
Details of a monitor service.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the displayName property: Monitor service display name.name()
Get the name property: Monitor service name.void
validate()
Validates the instance.withDisplayName
(String displayName) Set the displayName property: Monitor service display name.Set the name property: Monitor service name.
-
Constructor Details
-
MonitorServiceDetails
public MonitorServiceDetails()
-
-
Method Details
-
name
Get the name property: Monitor service name.- Returns:
- the name value.
-
withName
Set the name property: Monitor service name.- Parameters:
name
- the name value to set.- Returns:
- the MonitorServiceDetails object itself.
-
displayName
Get the displayName property: Monitor service display name.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: Monitor service display name.- Parameters:
displayName
- the displayName value to set.- Returns:
- the MonitorServiceDetails object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-