public class PersistentVolumeClaim extends KubernetesResource implements IPersistentVolumeClaim
ANNOTATIONS, APIVERSION, CREATION_TIMESTAMP, FROM, GROUP, KIND, LABELS, METADATA, METADATA_NAME, METADATA_NAMESPACE, METADATA_RESOURCE_VERSION, METADATA_UID, NAME, NAMESPACE, OBJECTS, PORTS, PROTOCOL, RESOURCE_VERSION, TYPE, VALUE, VERBS, VERSION| Constructor and Description |
|---|
PersistentVolumeClaim(org.jboss.dmr.ModelNode node,
IClient client,
Map<String,String[]> propertyKeys) |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getAccessModes() |
String |
getKind()
The kind of the resource as would be found at kind
|
String |
getRequestedStorage()
The requested storage
|
String |
getStatus()
The status of the claim
|
String |
getVolumeName()
The volume name
|
void |
setAccessModes(Set<String> accessModes)
Set the access modes for this claim.
|
void |
setRequestedStorage(String requestedStorage)
Set the requested storage of the claim
|
accept, addLabel, asBoolean, asBoolean, asInt, asInt, asMap, asSet, asString, asString, equals, get, get, getAnnotation, getAnnotations, getApiVersion, getCapabilities, getCapability, getClient, getCreationTimeStamp, getEnvMap, getLabels, getMetadata, getModifiableCapabilities, getName, getNamespace, getNamespaceName, getNode, getPath, getProject, getPropertyKeys, getResourceVersion, has, hashCode, isAnnotatedWith, refresh, removeAnnotation, set, set, set, set, set, set, set, set, set, setAnnotation, setEnvMap, setName, setNamespace, setNode, supports, toJson, toJson, toPrettyString, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddLabel, getAnnotation, getAnnotations, getCapabilities, getCreationTimeStamp, getLabels, getMetadata, getName, getNamespace, getNamespaceName, getProject, getResourceVersion, isAnnotatedWith, removeAnnotation, setAnnotationaccept, getCapability, supportsgetApiVersiontoJson, toJsonpublic Set<String> getAccessModes()
getAccessModes in interface IPersistentVolumeClaimPVCAccessModespublic void setAccessModes(Set<String> accessModes)
IPersistentVolumeClaimsetAccessModes in interface IPersistentVolumeClaimaccessModes - The access modes to setpublic String getRequestedStorage()
IPersistentVolumeClaimgetRequestedStorage in interface IPersistentVolumeClaimpublic void setRequestedStorage(String requestedStorage)
IPersistentVolumeClaimsetRequestedStorage in interface IPersistentVolumeClaimrequestedStorage - The requested storage capacitypublic String getKind()
IKindablegetKind in interface IKindablegetKind in class KubernetesResourcepublic String getStatus()
IPersistentVolumeClaimgetStatus in interface IPersistentVolumeClaimpublic String getVolumeName()
IPersistentVolumeClaimgetVolumeName in interface IPersistentVolumeClaimCopyright © 2020 Red Hat, Inc. All Rights Reserved.