public class FailoverGroupUpdate extends Object
| Constructor and Description |
|---|
FailoverGroupUpdate() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
databases()
Get the databases property: List of databases in the failover group.
|
FailoverGroupReadOnlyEndpoint |
readOnlyEndpoint()
Get the readOnlyEndpoint property: Read-only endpoint of the failover group instance.
|
FailoverGroupReadWriteEndpoint |
readWriteEndpoint()
Get the readWriteEndpoint property: Read-write endpoint of the failover group instance.
|
Map<String,String> |
tags()
Get the tags property: Resource tags.
|
void |
validate()
Validates the instance.
|
FailoverGroupUpdate |
withDatabases(List<String> databases)
Set the databases property: List of databases in the failover group.
|
FailoverGroupUpdate |
withReadOnlyEndpoint(FailoverGroupReadOnlyEndpoint readOnlyEndpoint)
Set the readOnlyEndpoint property: Read-only endpoint of the failover group instance.
|
FailoverGroupUpdate |
withReadWriteEndpoint(FailoverGroupReadWriteEndpoint readWriteEndpoint)
Set the readWriteEndpoint property: Read-write endpoint of the failover group instance.
|
FailoverGroupUpdate |
withTags(Map<String,String> tags)
Set the tags property: Resource tags.
|
public Map<String,String> tags()
public FailoverGroupUpdate withTags(Map<String,String> tags)
tags - the tags value to set.public FailoverGroupReadWriteEndpoint readWriteEndpoint()
public FailoverGroupUpdate withReadWriteEndpoint(FailoverGroupReadWriteEndpoint readWriteEndpoint)
readWriteEndpoint - the readWriteEndpoint value to set.public FailoverGroupReadOnlyEndpoint readOnlyEndpoint()
public FailoverGroupUpdate withReadOnlyEndpoint(FailoverGroupReadOnlyEndpoint readOnlyEndpoint)
readOnlyEndpoint - the readOnlyEndpoint value to set.public List<String> databases()
public FailoverGroupUpdate withDatabases(List<String> databases)
databases - the databases value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.