StopVirtualMachineOptions Class
- java.
lang. Object - com.
azure. resourcemanager. scvmm. models. StopVirtualMachineOptions
- com.
public final class StopVirtualMachineOptions
Defines the stop action properties.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| StopVirtualMachineOptions() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
skipShutdown()
Get the skip |
| void |
validate()
Validates the instance. |
|
Stop |
withSkipShutdown(Boolean skipShutdown)
Set the skip |
Methods inherited from java.lang.Object
Constructor Details
StopVirtualMachineOptions
public StopVirtualMachineOptions()
Method Details
skipShutdown
public Boolean skipShutdown()
Get the skipShutdown property: Gets or sets a value indicating whether to request non-graceful VM shutdown. True value for this flag indicates non-graceful shutdown whereas false indicates otherwise. Defaults to false.
Returns:
validate
public void validate()
Validates the instance.
withSkipShutdown
public StopVirtualMachineOptions withSkipShutdown(Boolean skipShutdown)
Set the skipShutdown property: Gets or sets a value indicating whether to request non-graceful VM shutdown. True value for this flag indicates non-graceful shutdown whereas false indicates otherwise. Defaults to false.
Parameters:
Returns: