Class EnableRequest
java.lang.Object
com.azure.resourcemanager.monitor.models.EnableRequest
Describes a receiver that should be resubscribed.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the receiverName property: The name of the receiver to resubscribe.voidvalidate()Validates the instance.withReceiverName(String receiverName) Set the receiverName property: The name of the receiver to resubscribe.
-
Constructor Details
-
EnableRequest
public EnableRequest()Creates an instance of EnableRequest class.
-
-
Method Details
-
receiverName
Get the receiverName property: The name of the receiver to resubscribe.- Returns:
- the receiverName value.
-
withReceiverName
Set the receiverName property: The name of the receiver to resubscribe.- Parameters:
receiverName- the receiverName value to set.- Returns:
- the EnableRequest object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-