ServerCommunicationLinkProperties Class
- java.
lang. Object - com.
azure. resourcemanager. sql. fluent. models. ServerCommunicationLinkProperties
- com.
Implements
public final class ServerCommunicationLinkProperties
implements JsonSerializable<ServerCommunicationLinkProperties>
The properties of a server communication link.
Constructor Summary
| Constructor | Description |
|---|---|
| ServerCommunicationLinkProperties() |
Creates an instance of Server |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Server |
fromJson(JsonReader jsonReader)
Reads an instance of Server |
| String |
partnerServer()
Get the partner |
| String |
state()
Get the state property: The state. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Server |
withPartnerServer(String partnerServer)
Set the partner |
Methods inherited from java.lang.Object
Constructor Details
ServerCommunicationLinkProperties
public ServerCommunicationLinkProperties()
Creates an instance of ServerCommunicationLinkProperties class.
Method Details
fromJson
public static ServerCommunicationLinkProperties fromJson(JsonReader jsonReader)
Reads an instance of ServerCommunicationLinkProperties from the JsonReader.
Parameters:
Returns:
Throws:
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
validate
public void validate()
Validates the instance.
withPartnerServer
public ServerCommunicationLinkProperties withPartnerServer(String partnerServer)
Set the partnerServer property: The name of the partner server.
Parameters:
Returns: