Class ServerConnectionPolicyProperties
java.lang.Object
com.azure.resourcemanager.sql.fluent.models.ServerConnectionPolicyProperties
The properties of a server connection policy.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ServerConnectionPolicyProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the connectionType property: The server connection type.voidvalidate()Validates the instance.withConnectionType(ServerConnectionType connectionType) Set the connectionType property: The server connection type.
-
Constructor Details
-
ServerConnectionPolicyProperties
public ServerConnectionPolicyProperties()Creates an instance of ServerConnectionPolicyProperties class.
-
-
Method Details
-
connectionType
Get the connectionType property: The server connection type.- Returns:
- the connectionType value.
-
withConnectionType
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.
-