public class ServicePlacement extends Object implements Serializable
RemoteApiVersion#VERSION_1_24
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
ServicePlacement() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getConstraints() |
List<SwarmNodePlatform> |
getPlatforms() |
void |
setPlatforms(List<SwarmNodePlatform> platforms) |
ServicePlacement |
withConstraints(List<String> constraints) |
public static final long serialVersionUID
@CheckForNull public List<String> getConstraints()
constraints
public ServicePlacement withConstraints(List<String> constraints)
constraints
public List<SwarmNodePlatform> getPlatforms()
platforms
public void setPlatforms(List<SwarmNodePlatform> platforms)
Copyright © 2020. All rights reserved.