ServerCommunicationLinkInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. sql. fluent. models. ServerCommunicationLinkInner
- com.
- com.
public final class ServerCommunicationLinkInner
extends ProxyResource
Server communication link.
Constructor Summary
| Constructor | Description |
|---|---|
| ServerCommunicationLinkInner() |
Creates an instance of Server |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
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: Communication link kind. |
| String |
location()
Get the location property: Communication link location. |
| String |
name()
Get the name property: The name of the resource. |
| String |
partnerServer()
Get the partner |
| String |
state()
Get the state property: The state. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Server |
withPartnerServer(String partnerServer)
Set the partner |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ServerCommunicationLinkInner
public ServerCommunicationLinkInner()
Creates an instance of ServerCommunicationLinkInner class.
Method Details
fromJson
public static ServerCommunicationLinkInner fromJson(JsonReader jsonReader)
Reads an instance of ServerCommunicationLinkInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ServerCommunicationLinkInner.id()Returns:
kind
public String kind()
Get the kind property: Communication link kind. This property is used for Azure Portal metadata.
Returns:
location
public String location()
Get the location property: Communication link location.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ServerCommunicationLinkInner.name()Returns:
partnerServer
public String partnerServer()
Get the partnerServer property: The name of the partner server.
Returns:
state
public String state()
Get the state property: The state.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ServerCommunicationLinkInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ServerCommunicationLinkInner.type()Returns:
validate
public void validate()
Validates the instance.
withPartnerServer
public ServerCommunicationLinkInner withPartnerServer(String partnerServer)
Set the partnerServer property: The name of the partner server.
Parameters:
Returns: