Class ServerConnectionPolicyProperties

java.lang.Object
com.azure.resourcemanager.sql.fluent.models.ServerConnectionPolicyProperties

public final class ServerConnectionPolicyProperties extends Object
The properties of a server connection policy.
  • Constructor Details

    • ServerConnectionPolicyProperties

      public ServerConnectionPolicyProperties()
      Creates an instance of ServerConnectionPolicyProperties class.
  • Method Details

    • connectionType

      public ServerConnectionType connectionType()
      Get the connectionType property: The server connection type.
      Returns:
      the connectionType value.
    • withConnectionType

      public ServerConnectionPolicyProperties withConnectionType(ServerConnectionType connectionType)
      Set the connectionType property: The server connection type.
      Parameters:
      connectionType - the connectionType value to set.
      Returns:
      the ServerConnectionPolicyProperties object itself.
    • validate

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