FailoverGroupUpdate Class

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

public class FailoverGroupUpdate

A failover group update request.

Constructor Summary

Constructor Description
FailoverGroupUpdate()

Method Summary

Modifier and Type Method and Description
java.util.List<java.lang.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.

java.util.Map<java.lang.String,java.lang.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.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

FailoverGroupUpdate

public FailoverGroupUpdate()

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