Class FailoverGroupUpdate

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

public class FailoverGroupUpdate extends Object
A failover group update request.
  • Constructor Details

    • FailoverGroupUpdate

      public FailoverGroupUpdate()
  • Method Details

    • readWriteEndpoint

      public FailoverGroupReadWriteEndpoint readWriteEndpoint()
      Get read-write endpoint of the failover group instance.
      Returns:
      the readWriteEndpoint value
    • 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.
    • readOnlyEndpoint

      public FailoverGroupReadOnlyEndpoint readOnlyEndpoint()
      Get read-only endpoint of the failover group instance.
      Returns:
      the readOnlyEndpoint value
    • 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.
    • databases

      public List<String> databases()
      Get list of databases in the failover group.
      Returns:
      the databases value
    • withDatabases

      public FailoverGroupUpdate withDatabases(List<String> databases)
      Set list of databases in the failover group.
      Parameters:
      databases - the databases value to set
      Returns:
      the FailoverGroupUpdate object itself.
    • tags

      public Map<String,String> tags()
      Get resource tags.
      Returns:
      the tags value
    • withTags

      public FailoverGroupUpdate withTags(Map<String,String> tags)
      Set resource tags.
      Parameters:
      tags - the tags value to set
      Returns:
      the FailoverGroupUpdate object itself.