public final class RestartParameter extends Object
| Constructor and Description |
|---|
RestartParameter() |
| Modifier and Type | Method and Description |
|---|---|
String |
failoverMode()
Get the failoverMode property: Failover mode.
|
Boolean |
restartWithFailover()
Get the restartWithFailover property: Indicates whether to restart the server with failover.
|
void |
validate()
Validates the instance.
|
RestartParameter |
withFailoverMode(String failoverMode)
Set the failoverMode property: Failover mode.
|
RestartParameter |
withRestartWithFailover(Boolean restartWithFailover)
Set the restartWithFailover property: Indicates whether to restart the server with failover.
|
public Boolean restartWithFailover()
public RestartParameter withRestartWithFailover(Boolean restartWithFailover)
restartWithFailover - the restartWithFailover value to set.public String failoverMode()
public RestartParameter withFailoverMode(String failoverMode)
failoverMode - the failoverMode value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.