@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2021-05-14T16:48:53.494+08:00") public class DatasetSpec extends Object
| 构造器和说明 |
|---|
DatasetSpec() |
| 限定符和类型 | 方法和说明 |
|---|---|
DatasetSpec |
accessModes(List<String> accessModes) |
DatasetSpec |
addAccessModesItem(String accessModesItem) |
DatasetSpec |
addMountsItem(Mount mountsItem) |
DatasetSpec |
addRuntimesItem(Runtime runtimesItem) |
DatasetSpec |
addTolerationsItem(io.kubernetes.client.openapi.models.V1Toleration tolerationsItem) |
DatasetSpec |
dataRestoreLocation(DataRestoreLocation dataRestoreLocation) |
boolean |
equals(Object o) |
List<String> |
getAccessModes()
AccessModes contains all ways the volume backing the PVC can be mounted
|
DataRestoreLocation |
getDataRestoreLocation()
DataRestoreLocation is the location to load data of dataset been backuped
|
List<Mount> |
getMounts()
Mount Points to be mounted on Alluxio.
|
CacheableNodeAffinity |
getNodeAffinity()
NodeAffinity defines constraints that limit what nodes this dataset can be cached to.
|
User |
getOwner()
The owner of the dataset
|
String |
getPlacement()
Manage switch for opening Multiple datasets single node deployment or not
|
List<Runtime> |
getRuntimes()
Runtimes for supporting dataset (e.g.
|
List<io.kubernetes.client.openapi.models.V1Toleration> |
getTolerations()
If specified, the pod's tolerations.
|
int |
hashCode() |
DatasetSpec |
mounts(List<Mount> mounts) |
DatasetSpec |
nodeAffinity(CacheableNodeAffinity nodeAffinity) |
DatasetSpec |
owner(User owner) |
DatasetSpec |
placement(String placement) |
DatasetSpec |
runtimes(List<Runtime> runtimes) |
void |
setAccessModes(List<String> accessModes) |
void |
setDataRestoreLocation(DataRestoreLocation dataRestoreLocation) |
void |
setMounts(List<Mount> mounts) |
void |
setNodeAffinity(CacheableNodeAffinity nodeAffinity) |
void |
setOwner(User owner) |
void |
setPlacement(String placement) |
void |
setRuntimes(List<Runtime> runtimes) |
void |
setTolerations(List<io.kubernetes.client.openapi.models.V1Toleration> tolerations) |
DatasetSpec |
tolerations(List<io.kubernetes.client.openapi.models.V1Toleration> tolerations) |
String |
toString() |
public DatasetSpec accessModes(List<String> accessModes)
public DatasetSpec addAccessModesItem(String accessModesItem)
public List<String> getAccessModes()
public DatasetSpec dataRestoreLocation(DataRestoreLocation dataRestoreLocation)
public DataRestoreLocation getDataRestoreLocation()
public void setDataRestoreLocation(DataRestoreLocation dataRestoreLocation)
public DatasetSpec mounts(List<Mount> mounts)
public DatasetSpec addMountsItem(Mount mountsItem)
public DatasetSpec nodeAffinity(CacheableNodeAffinity nodeAffinity)
public CacheableNodeAffinity getNodeAffinity()
public void setNodeAffinity(CacheableNodeAffinity nodeAffinity)
public DatasetSpec owner(User owner)
public User getOwner()
public void setOwner(User owner)
public DatasetSpec placement(String placement)
public String getPlacement()
public void setPlacement(String placement)
public DatasetSpec runtimes(List<Runtime> runtimes)
public DatasetSpec addRuntimesItem(Runtime runtimesItem)
public List<Runtime> getRuntimes()
public DatasetSpec tolerations(List<io.kubernetes.client.openapi.models.V1Toleration> tolerations)
public DatasetSpec addTolerationsItem(io.kubernetes.client.openapi.models.V1Toleration tolerationsItem)
public List<io.kubernetes.client.openapi.models.V1Toleration> getTolerations()
public void setTolerations(List<io.kubernetes.client.openapi.models.V1Toleration> tolerations)
Copyright © 2021. All rights reserved.