public class SwarmNodeDescription extends Object implements Serializable
RemoteApiVersion#VERSION_1_24
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
SwarmNodeDescription() |
Modifier and Type | Method and Description |
---|---|
SwarmNodeEngineDescription |
getEngine() |
String |
getHostname() |
SwarmNodePlatform |
getPlatform() |
SwarmNodeResources |
getResources() |
SwarmNodeDescription |
withEngine(SwarmNodeEngineDescription engine) |
SwarmNodeDescription |
withHostname(String hostname) |
SwarmNodeDescription |
withPlatform(SwarmNodePlatform platform) |
SwarmNodeDescription |
withResources(SwarmNodeResources resources) |
public static final long serialVersionUID
@CheckForNull public String getHostname()
hostname
public SwarmNodeDescription withHostname(String hostname)
hostname
@CheckForNull public SwarmNodePlatform getPlatform()
platform
public SwarmNodeDescription withPlatform(SwarmNodePlatform platform)
platform
@CheckForNull public SwarmNodeResources getResources()
resources
public SwarmNodeDescription withResources(SwarmNodeResources resources)
resources
@CheckForNull public SwarmNodeEngineDescription getEngine()
engine
public SwarmNodeDescription withEngine(SwarmNodeEngineDescription engine)
engine
Copyright © 2021. All rights reserved.