FailoverGroupUpdate Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. FailoverGroupUpdate
- com.
Implements
public final class FailoverGroupUpdate
implements JsonSerializable<FailoverGroupUpdate>
A failover group update request.
Constructor Summary
| Constructor | Description |
|---|---|
| FailoverGroupUpdate() |
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 |
| Map<String,String> |
tags()
Get the tags property: Resource tags. |
|
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 |
|
Failover |
withTags(Map<String,String> tags)
Set the tags property: Resource tags. |
Methods inherited from java.lang.Object
Constructor Details
FailoverGroupUpdate
public FailoverGroupUpdate()
Creates an instance of FailoverGroupUpdate class.
Method Details
databases
public List<String> databases()
Get the databases property: List of databases in the failover group.
Returns:
fromJson
public static FailoverGroupUpdate fromJson(JsonReader jsonReader)
Reads an instance of FailoverGroupUpdate 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:
tags
public Map<String,String> tags()
Get the tags property: Resource tags.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDatabases
public FailoverGroupUpdate withDatabases(List<String> databases)
Set the databases property: List of databases in the failover group.
Parameters:
Returns:
withReadOnlyEndpoint
public FailoverGroupUpdate withReadOnlyEndpoint(FailoverGroupReadOnlyEndpoint readOnlyEndpoint)
Set the readOnlyEndpoint property: Read-only endpoint of the failover group instance.
Parameters:
Returns:
withReadWriteEndpoint
public FailoverGroupUpdate withReadWriteEndpoint(FailoverGroupReadWriteEndpoint readWriteEndpoint)
Set the readWriteEndpoint property: Read-write endpoint of the failover group instance.
Parameters:
Returns:
withTags
public FailoverGroupUpdate withTags(Map<String,String> tags)
Set the tags property: Resource tags.
Parameters:
Returns: