Class ServerCommunicationLinkInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.sql.fluent.models.ServerCommunicationLinkInner
-
public class ServerCommunicationLinkInner extends com.azure.core.management.ProxyResourceServer communication link.
-
-
Constructor Summary
Constructors Constructor Description ServerCommunicationLinkInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringkind()Get the kind property: Communication link kind.Stringlocation()Get the location property: Communication link location.StringpartnerServer()Get the partnerServer property: The name of the partner server.Stringstate()Get the state property: The state.voidvalidate()Validates the instance.ServerCommunicationLinkInnerwithPartnerServer(String partnerServer)Set the partnerServer property: The name of the partner server.
-
-
-
Method Detail
-
location
public String location()
Get the location property: Communication link location.- Returns:
- the location value.
-
kind
public String kind()
Get the kind property: Communication link kind. This property is used for Azure Portal metadata.- Returns:
- the kind value.
-
state
public String state()
Get the state property: The state.- Returns:
- the state value.
-
partnerServer
public String partnerServer()
Get the partnerServer property: The name of the partner server.- Returns:
- the partnerServer value.
-
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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-