FailoverGroupUpdate Class

  • java.lang.Object
    • com.microsoft.azure.management.sql.FailoverGroupUpdate

public class FailoverGroupUpdate

A failover group update request.

Method Summary

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.

Method Details

databases

public List databases()

Get list of databases in the failover group.

Returns:

the databases value

readOnlyEndpoint

public FailoverGroupReadOnlyEndpoint readOnlyEndpoint()

Get read-only endpoint of the failover group instance.

Returns:

the readOnlyEndpoint value

readWriteEndpoint

public FailoverGroupReadWriteEndpoint readWriteEndpoint()

Get read-write endpoint of the failover group instance.

Returns:

the readWriteEndpoint value

tags

public Map tags()

Get resource tags.

Returns:

the tags value

withDatabases

public FailoverGroupUpdate withDatabases(List databases)

Set list of databases in the failover group.

Parameters:

databases - the databases value to set

Returns:

the FailoverGroupUpdate object itself.

withReadOnlyEndpoint

public FailoverGroupUpdate withReadOnlyEndpoint(FailoverGroupReadOnlyEndpoint readOnlyEndpoint)

Set read-only endpoint of the failover group instance.

Parameters:

readOnlyEndpoint - the readOnlyEndpoint value to set

Returns:

the FailoverGroupUpdate object itself.

withReadWriteEndpoint

public FailoverGroupUpdate withReadWriteEndpoint(FailoverGroupReadWriteEndpoint readWriteEndpoint)

Set read-write endpoint of the failover group instance.

Parameters:

readWriteEndpoint - the readWriteEndpoint value to set

Returns:

the FailoverGroupUpdate object itself.

withTags

public FailoverGroupUpdate withTags(Map tags)

Set resource tags.

Parameters:

tags - the tags value to set

Returns:

the FailoverGroupUpdate object itself.

Applies to