public class FailoverGroupUpdate extends Object
| Constructor and Description |
|---|
FailoverGroupUpdate() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
databases()
Get list of databases in the failover group.
|
FailoverGroupReadOnlyEndpoint |
readOnlyEndpoint()
Get read-only endpoint of the failover group instance.
|
FailoverGroupReadWriteEndpoint |
readWriteEndpoint()
Get read-write endpoint of the failover group instance.
|
Map<String,String> |
tags()
Get resource tags.
|
FailoverGroupUpdate |
withDatabases(List<String> databases)
Set list of databases in the failover group.
|
FailoverGroupUpdate |
withReadOnlyEndpoint(FailoverGroupReadOnlyEndpoint readOnlyEndpoint)
Set read-only endpoint of the failover group instance.
|
FailoverGroupUpdate |
withReadWriteEndpoint(FailoverGroupReadWriteEndpoint readWriteEndpoint)
Set read-write endpoint of the failover group instance.
|
FailoverGroupUpdate |
withTags(Map<String,String> tags)
Set resource tags.
|
public FailoverGroupReadWriteEndpoint readWriteEndpoint()
public FailoverGroupUpdate withReadWriteEndpoint(FailoverGroupReadWriteEndpoint readWriteEndpoint)
readWriteEndpoint - the readWriteEndpoint value to setpublic FailoverGroupReadOnlyEndpoint readOnlyEndpoint()
public FailoverGroupUpdate withReadOnlyEndpoint(FailoverGroupReadOnlyEndpoint readOnlyEndpoint)
readOnlyEndpoint - the readOnlyEndpoint value to setpublic List<String> databases()
public FailoverGroupUpdate withDatabases(List<String> databases)
databases - the databases value to setpublic FailoverGroupUpdate withTags(Map<String,String> tags)
tags - the tags value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/