public class Swarm extends ClusterInfo
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
Swarm() |
Modifier and Type | Method and Description |
---|---|
SwarmJoinTokens |
getJoinTokens() |
Swarm |
withCreatedAt(Date createdAt) |
Swarm |
withId(String id) |
Swarm |
withJoinTokens(SwarmJoinTokens joinTokens) |
Swarm |
withSpec(SwarmSpec spec) |
Swarm |
withUpdatedAt(Date updatedAt) |
Swarm |
withVersion(ResourceVersion version) |
getCreatedAt, getId, getSpec, getUpdatedAt, getVersion
public static final long serialVersionUID
@CheckForNull public SwarmJoinTokens getJoinTokens()
joinTokens
public Swarm withJoinTokens(SwarmJoinTokens joinTokens)
joinTokens
public Swarm withCreatedAt(Date createdAt)
withCreatedAt
in class ClusterInfo
ClusterInfo.createdAt
public Swarm withId(String id)
withId
in class ClusterInfo
ClusterInfo.id
public Swarm withSpec(SwarmSpec spec)
withSpec
in class ClusterInfo
ClusterInfo.spec
public Swarm withUpdatedAt(Date updatedAt)
withUpdatedAt
in class ClusterInfo
ClusterInfo.updatedAt
public Swarm withVersion(ResourceVersion version)
withVersion
in class ClusterInfo
ClusterInfo.version
Copyright © 2021. All rights reserved.