FailoverGroupUpdateProperties Class
- java.
lang. Object - com.
azure. resourcemanager. sql. fluent. models. FailoverGroupUpdateProperties
- com.
Implements
public final class FailoverGroupUpdateProperties
implements JsonSerializable<FailoverGroupUpdateProperties>
Properties of a failover group update.
Constructor Summary
| Constructor | Description |
|---|---|
| FailoverGroupUpdateProperties() |
Creates an instance of Failover |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| List<String> |
databases()
Get the databases property: List of databases in the failover group. |
|
static
Failover |
fromJson(JsonReader jsonReader)
Reads an instance of Failover |
|
Failover |
readOnlyEndpoint()
Get the read |
|
Failover |
readWriteEndpoint()
Get the read |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Failover |
withDatabases(List<String> databases)
Set the databases property: List of databases in the failover group. |
|
Failover |
withReadOnlyEndpoint(FailoverGroupReadOnlyEndpoint readOnlyEndpoint)
Set the read |
|
Failover |
withReadWriteEndpoint(FailoverGroupReadWriteEndpoint readWriteEndpoint)
Set the read |
Methods inherited from java.lang.Object
Constructor Details
FailoverGroupUpdateProperties
public FailoverGroupUpdateProperties()
Creates an instance of FailoverGroupUpdateProperties class.
Method Details
databases
public List<String> databases()
Get the databases property: List of databases in the failover group.
Returns:
fromJson
public static FailoverGroupUpdateProperties fromJson(JsonReader jsonReader)
Reads an instance of FailoverGroupUpdateProperties from the JsonReader.
Parameters:
Returns:
Throws:
readOnlyEndpoint
public FailoverGroupReadOnlyEndpoint readOnlyEndpoint()
Get the readOnlyEndpoint property: Read-only endpoint of the failover group instance.
Returns:
readWriteEndpoint
public FailoverGroupReadWriteEndpoint readWriteEndpoint()
Get the readWriteEndpoint property: Read-write endpoint of the failover group instance.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDatabases
public FailoverGroupUpdateProperties withDatabases(List<String> databases)
Set the databases property: List of databases in the failover group.
Parameters:
Returns:
withReadOnlyEndpoint
public FailoverGroupUpdateProperties withReadOnlyEndpoint(FailoverGroupReadOnlyEndpoint readOnlyEndpoint)
Set the readOnlyEndpoint property: Read-only endpoint of the failover group instance.
Parameters:
Returns:
withReadWriteEndpoint
public FailoverGroupUpdateProperties withReadWriteEndpoint(FailoverGroupReadWriteEndpoint readWriteEndpoint)
Set the readWriteEndpoint property: Read-write endpoint of the failover group instance.
Parameters:
Returns: