PetfindbystatusServerInfo.java
public class PetfindbystatusServerInfo
A class that provides a server, and any needed server info classes
- a class that is a ServerProvider
- a builder for the ServerProvider
- an enum class that stores server index values
Modifier and Type | Class and Description |
---|---|
static class | PetfindbystatusServerInfo.PetfindbystatusServerInfo1 class that stores a server index |
static class | PetfindbystatusServerInfo.PetfindbystatusServerInfoBuilder class that stores a server index |
enum | PetfindbystatusServerInfo.ServerIndex class that stores a server index |
implements ServerProvider<ServerIndex>
A class that stores servers and allows one to be returned with a ServerIndex instance
Constructor and Description |
---|
PetfindbystatusServerInfo1(@Nullable PetfindbystatusServer0 server0,@Nullable PetfindbystatusServer1 server1) Creates an instance using passed in servers |
Modifier and Type | Field and Description |
---|---|
PetfindbystatusServer0 | server0 |
PetfindbystatusServer1 | server1 |
Modifier and Type | Method and Description |
---|---|
Server | getServer(ServerIndex serverIndex) |
a builder for PetfindbystatusServerInfo1
Constructor and Description |
---|
PetfindbystatusServerInfoBuilder() Creates an instance |
Modifier and Type | Method and Description |
---|---|
PetfindbystatusServerInfoBuilder | petfindbystatusServer0(PetfindbystatusServer0 server0) sets the server |
PetfindbystatusServerInfoBuilder | petfindbystatusServer1(PetfindbystatusServer1 server1) sets the server |
PetfindbystatusServerInfo1 | build() |
enum ServerIndex
Enum Constant And Description |
---|
SERVER_0 server 0 |
SERVER_1 server 1 |