ServerCommunicationLinkInner Class

public final class ServerCommunicationLinkInner
extends ProxyResource

Server communication link.

Constructor Summary

Constructor Description
ServerCommunicationLinkInner()

Creates an instance of ServerCommunicationLinkInner class.

Method Summary

Modifier and Type Method and Description
static ServerCommunicationLinkInner fromJson(JsonReader jsonReader)

Reads an instance of ServerCommunicationLinkInner from the JsonReader.

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 partnerServer property: The name of the partner server.

String state()

Get the state property: The state.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

ServerCommunicationLinkInner withPartnerServer(String partnerServer)

Set the partnerServer property: The name of the partner server.

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:

jsonReader - The JsonReader being read.

Returns:

An instance of ServerCommunicationLinkInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

ServerCommunicationLinkInner.id()

Returns:

the id value.

kind

public String kind()

Get the kind property: Communication link kind. This property is used for Azure Portal metadata.

Returns:

the kind value.

location

public String location()

Get the location property: Communication link location.

Returns:

the location value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ServerCommunicationLinkInner.name()

Returns:

the name value.

partnerServer

public String partnerServer()

Get the partnerServer property: The name of the partner server.

Returns:

the partnerServer value.

state

public String state()

Get the state property: The state.

Returns:

the state value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ServerCommunicationLinkInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ServerCommunicationLinkInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withPartnerServer

public ServerCommunicationLinkInner withPartnerServer(String partnerServer)

Set the partnerServer property: The name of the partner server.

Parameters:

partnerServer - the partnerServer value to set.

Returns:

the ServerCommunicationLinkInner object itself.

Applies to