Class EnableRequest
- java.lang.Object
-
- com.azure.resourcemanager.monitor.models.EnableRequest
-
public final class EnableRequest extends Object
Describes a receiver that should be resubscribed.
-
-
Constructor Summary
Constructors Constructor Description EnableRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringreceiverName()Get the receiverName property: The name of the receiver to resubscribe.voidvalidate()Validates the instance.EnableRequestwithReceiverName(String receiverName)Set the receiverName property: The name of the receiver to resubscribe.
-
-
-
Method Detail
-
receiverName
public String receiverName()
Get the receiverName property: The name of the receiver to resubscribe.- Returns:
- the receiverName value.
-
withReceiverName
public EnableRequest withReceiverName(String receiverName)
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.
-
-