Class ServerInfo
java.lang.Object
com.azure.resourcemanager.sql.models.ServerInfo
Server info for the server trust group.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionserverId()Get the serverId property: Server Id.voidvalidate()Validates the instance.withServerId(String serverId) Set the serverId property: Server Id.
-
Constructor Details
-
ServerInfo
public ServerInfo()Creates an instance of ServerInfo class.
-
-
Method Details
-
serverId
Get the serverId property: Server Id.- Returns:
- the serverId value.
-
withServerId
Set the serverId property: Server Id.- Parameters:
serverId- the serverId value to set.- Returns:
- the ServerInfo object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-