EnableRequest Class
- java.
lang. Object - com.
azure. resourcemanager. monitor. models. EnableRequest
- com.
Implements
public final class EnableRequest
implements JsonSerializable<EnableRequest>
Describes a receiver that should be resubscribed.
Constructor | Description |
---|---|
Enable |
Creates an instance of Enable |
Modifier and Type | Method and Description |
---|---|
static
Enable |
from Reads an instance of Enable |
String |
receiver Get the receiver |
Json |
to |
void |
validate()
Validates the instance. |
Enable |
with Set the receiver |
Methods inherited from java.lang.Object
EnableRequest
public EnableRequest()
Creates an instance of EnableRequest class.
fromJson
public static EnableRequest fromJson(JsonReader jsonReader)
Reads an instance of EnableRequest from the JsonReader.
Parameters:
Returns:
Throws:
receiverName
public String receiverName()
Get the receiverName property: The name of the receiver to resubscribe.
Returns:
toJson
validate
public void validate()
Validates the instance.
withReceiverName
public EnableRequest withReceiverName(String receiverName)
Set the receiverName property: The name of the receiver to resubscribe.
Parameters:
Returns: