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()
constraintspublic ServicePlacement withConstraints(List<String> constraints)
constraintspublic List<SwarmNodePlatform> getPlatforms()
platformspublic void setPlatforms(List<SwarmNodePlatform> platforms)
Copyright © 2020. All rights reserved.