AllInstancesDown Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. AllInstancesDown
- com.
Implements
public final class AllInstancesDown
implements JsonSerializable<AllInstancesDown>
Specifies if Scheduled Events should be auto-approved when all instances are down.
Constructor Summary
| Constructor | Description |
|---|---|
| AllInstancesDown() |
Creates an instance of All |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
automaticallyApprove()
Get the automatically |
|
static
All |
fromJson(JsonReader jsonReader)
Reads an instance of All |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
All |
withAutomaticallyApprove(Boolean automaticallyApprove)
Set the automatically |
Methods inherited from java.lang.Object
Constructor Details
AllInstancesDown
public AllInstancesDown()
Creates an instance of AllInstancesDown class.
Method Details
automaticallyApprove
public Boolean automaticallyApprove()
Get the automaticallyApprove property: Specifies if Scheduled Events should be auto-approved when all instances are down. its default value is true.
Returns:
fromJson
public static AllInstancesDown fromJson(JsonReader jsonReader)
Reads an instance of AllInstancesDown from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withAutomaticallyApprove
public AllInstancesDown withAutomaticallyApprove(Boolean automaticallyApprove)
Set the automaticallyApprove property: Specifies if Scheduled Events should be auto-approved when all instances are down. its default value is true.
Parameters:
Returns: