ServerConnectionPolicyInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. sql. fluent. models. ServerConnectionPolicyInner
- com.
- com.
public final class ServerConnectionPolicyInner
extends ProxyResource
A server connection policy.
Constructor Summary
Constructor | Description |
---|---|
ServerConnectionPolicyInner() |
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 |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
kind()
Get the kind property: Metadata used for the Azure portal experience. |
String |
location()
Get the location property: Resource location. |
String |
name()
Get the name property: The name of the resource. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Server |
withConnectionType(ServerConnectionType connectionType)
Set the connection |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ServerConnectionPolicyInner
public ServerConnectionPolicyInner()
Creates an instance of ServerConnectionPolicyInner class.
Method Details
connectionType
public ServerConnectionType connectionType()
Get the connectionType property: The server connection type.
Returns:
fromJson
public static ServerConnectionPolicyInner fromJson(JsonReader jsonReader)
Reads an instance of ServerConnectionPolicyInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ServerConnectionPolicyInner.id()Returns:
kind
public String kind()
Get the kind property: Metadata used for the Azure portal experience.
Returns:
location
public String location()
Get the location property: Resource location.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ServerConnectionPolicyInner.name()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ServerConnectionPolicyInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ServerConnectionPolicyInner.type()Returns:
validate
public void validate()
Validates the instance.
withConnectionType
public ServerConnectionPolicyInner withConnectionType(ServerConnectionType connectionType)
Set the connectionType property: The server connection type.
Parameters:
Returns:
Applies to
Azure SDK for Java