public final class RestartParameter extends Object
| Constructor and Description |
|---|
RestartParameter() |
| Modifier and Type | Method and Description |
|---|---|
FailoverMode |
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(FailoverMode 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 FailoverMode failoverMode()
public RestartParameter withFailoverMode(FailoverMode failoverMode)
failoverMode - the failoverMode value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.