Class SqlConnectivityUpdateSettings

java.lang.Object
com.azure.resourcemanager.sqlvirtualmachine.models.SqlConnectivityUpdateSettings

public final class SqlConnectivityUpdateSettings extends Object
Set the access level and network port settings for SQL Server.
  • Constructor Details

    • SqlConnectivityUpdateSettings

      public SqlConnectivityUpdateSettings()
  • Method Details

    • connectivityType

      public ConnectivityType connectivityType()
      Get the connectivityType property: SQL Server connectivity option.
      Returns:
      the connectivityType value.
    • withConnectivityType

      public SqlConnectivityUpdateSettings withConnectivityType(ConnectivityType connectivityType)
      Set the connectivityType property: SQL Server connectivity option.
      Parameters:
      connectivityType - the connectivityType value to set.
      Returns:
      the SqlConnectivityUpdateSettings object itself.
    • port

      public Integer port()
      Get the port property: SQL Server port.
      Returns:
      the port value.
    • withPort

      public SqlConnectivityUpdateSettings withPort(Integer port)
      Set the port property: SQL Server port.
      Parameters:
      port - the port value to set.
      Returns:
      the SqlConnectivityUpdateSettings object itself.
    • sqlAuthUpdateUsername

      public String sqlAuthUpdateUsername()
      Get the sqlAuthUpdateUsername property: SQL Server sysadmin login to create.
      Returns:
      the sqlAuthUpdateUsername value.
    • withSqlAuthUpdateUsername

      public SqlConnectivityUpdateSettings withSqlAuthUpdateUsername(String sqlAuthUpdateUsername)
      Set the sqlAuthUpdateUsername property: SQL Server sysadmin login to create.
      Parameters:
      sqlAuthUpdateUsername - the sqlAuthUpdateUsername value to set.
      Returns:
      the SqlConnectivityUpdateSettings object itself.
    • sqlAuthUpdatePassword

      public String sqlAuthUpdatePassword()
      Get the sqlAuthUpdatePassword property: SQL Server sysadmin login password.
      Returns:
      the sqlAuthUpdatePassword value.
    • withSqlAuthUpdatePassword

      public SqlConnectivityUpdateSettings withSqlAuthUpdatePassword(String sqlAuthUpdatePassword)
      Set the sqlAuthUpdatePassword property: SQL Server sysadmin login password.
      Parameters:
      sqlAuthUpdatePassword - the sqlAuthUpdatePassword value to set.
      Returns:
      the SqlConnectivityUpdateSettings object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.