ServerListResult Class
- java.
lang. Object - com.
azure. resourcemanager. postgresql. models. ServerListResult
- com.
Implements
public final class ServerListResult
implements JsonSerializable<ServerListResult>
A list of servers.
Constructor Summary
| Constructor | Description |
|---|---|
| ServerListResult() |
Creates an instance of Server |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Server |
fromJson(JsonReader jsonReader)
Reads an instance of Server |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
List<Server |
value()
Get the value property: The list of servers. |
|
Server |
withValue(List<ServerInner> value)
Set the value property: The list of servers. |
Methods inherited from java.lang.Object
Constructor Details
ServerListResult
public ServerListResult()
Creates an instance of ServerListResult class.
Method Details
fromJson
public static ServerListResult fromJson(JsonReader jsonReader)
Reads an instance of ServerListResult from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
value
public List<ServerInner> value()
Get the value property: The list of servers.
Returns:
withValue
public ServerListResult withValue(List<ServerInner> value)
Set the value property: The list of servers.
Parameters:
Returns: