@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-06-19T10:47:33.387Z[Etc/UTC]") public class V1PersistentVolumeClaimVolumeSource extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_CLAIM_NAME |
static String |
SERIALIZED_NAME_READ_ONLY |
Constructor and Description |
---|
V1PersistentVolumeClaimVolumeSource() |
Modifier and Type | Method and Description |
---|---|
V1PersistentVolumeClaimVolumeSource |
claimName(String claimName) |
boolean |
equals(Object o) |
String |
getClaimName()
ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this
volume.
|
Boolean |
getReadOnly()
Will force the ReadOnly setting in VolumeMounts.
|
int |
hashCode() |
V1PersistentVolumeClaimVolumeSource |
readOnly(Boolean readOnly) |
void |
setClaimName(String claimName) |
void |
setReadOnly(Boolean readOnly) |
String |
toString() |
public static final String SERIALIZED_NAME_CLAIM_NAME
public static final String SERIALIZED_NAME_READ_ONLY
public V1PersistentVolumeClaimVolumeSource claimName(String claimName)
public String getClaimName()
public void setClaimName(String claimName)
public V1PersistentVolumeClaimVolumeSource readOnly(Boolean readOnly)
@Nullable public Boolean getReadOnly()
public void setReadOnly(Boolean readOnly)
Copyright © 2020. All rights reserved.