Class ServerListResult
- java.lang.Object
-
- com.azure.resourcemanager.mysqlflexibleserver.models.ServerListResult
-
public final class ServerListResult extends Object
A list of servers.
-
-
Constructor Summary
Constructors Constructor Description ServerListResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
nextLink()
Get the nextLink property: The link used to get the next page of operations.void
validate()
Validates the instance.List<ServerInner>
value()
Get the value property: The list of servers.ServerListResult
withNextLink(String nextLink)
Set the nextLink property: The link used to get the next page of operations.ServerListResult
withValue(List<ServerInner> value)
Set the value property: The list of servers.
-
-
-
Method Detail
-
value
public List<ServerInner> value()
Get the value property: The list of servers.- Returns:
- the value value.
-
withValue
public ServerListResult withValue(List<ServerInner> value)
Set the value property: The list of servers.- Parameters:
value
- the value value to set.- Returns:
- the ServerListResult object itself.
-
nextLink
public String nextLink()
Get the nextLink property: The link used to get the next page of operations.- Returns:
- the nextLink value.
-
withNextLink
public ServerListResult withNextLink(String nextLink)
Set the nextLink property: The link used to get the next page of operations.- Parameters:
nextLink
- the nextLink value to set.- Returns:
- the ServerListResult object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-