public class SwarmInfo extends DockerObject implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Constructor and Description |
|---|
SwarmInfo() |
| Modifier and Type | Method and Description |
|---|---|
ClusterInfo |
getClusterInfo() |
Boolean |
getControlAvailable() |
String |
getError() |
LocalNodeState |
getLocalNodeState() |
Integer |
getManagers() |
String |
getNodeAddr() |
String |
getNodeID() |
Integer |
getNodes() |
List<PeerNode> |
getRemoteManagers() |
SwarmInfo |
withClusterInfo(ClusterInfo clusterInfo) |
SwarmInfo |
withControlAvailable(Boolean controlAvailable) |
SwarmInfo |
withError(String error) |
SwarmInfo |
withLocalNodeState(LocalNodeState localNodeState) |
SwarmInfo |
withManagers(Integer managers) |
SwarmInfo |
withNodeAddr(String nodeAddr) |
SwarmInfo |
withNodeID(String nodeID) |
SwarmInfo |
withNodes(Integer nodes) |
SwarmInfo |
withRemoteManagers(List<PeerNode> remoteManagers) |
getRawValuespublic static final long serialVersionUID
@CheckForNull public String getNodeID()
nodeID@CheckForNull public String getNodeAddr()
nodeAddr@CheckForNull public LocalNodeState getLocalNodeState()
localNodeStatepublic SwarmInfo withLocalNodeState(LocalNodeState localNodeState)
localNodeState@CheckForNull public Boolean getControlAvailable()
controlAvailablepublic SwarmInfo withControlAvailable(Boolean controlAvailable)
controlAvailable@CheckForNull public String getError()
error@CheckForNull public List<PeerNode> getRemoteManagers()
remoteManagerspublic SwarmInfo withRemoteManagers(List<PeerNode> remoteManagers)
remoteManagers@CheckForNull public Integer getNodes()
nodes@CheckForNull public Integer getManagers()
managers@CheckForNull public ClusterInfo getClusterInfo()
clusterInfopublic SwarmInfo withClusterInfo(ClusterInfo clusterInfo)
clusterInfoCopyright © 2025. All rights reserved.