ServerConnectionPolicyProperties Class
- java.
lang. Object - com.
azure. resourcemanager. sql. fluent. models. ServerConnectionPolicyProperties
- com.
Implements
public final class ServerConnectionPolicyProperties
implements JsonSerializable<ServerConnectionPolicyProperties>
The properties of a server connection policy.
Constructor Summary
| Constructor | Description |
|---|---|
| ServerConnectionPolicyProperties() |
Creates an instance of Server |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Server |
connectionType()
Get the connection |
|
static
Server |
fromJson(JsonReader jsonReader)
Reads an instance of Server |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Server |
withConnectionType(ServerConnectionType connectionType)
Set the connection |
Methods inherited from java.lang.Object
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:
fromJson
public static ServerConnectionPolicyProperties fromJson(JsonReader jsonReader)
Reads an instance of ServerConnectionPolicyProperties from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withConnectionType
public ServerConnectionPolicyProperties withConnectionType(ServerConnectionType connectionType)
Set the connectionType property: The server connection type.
Parameters:
Returns: