Class PortworxVolumeSource
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.core.v1.PortworxVolumeSource
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class PortworxVolumeSource extends java.lang.Object implements com.marcnuri.yakc.model.Model
PortworxVolumeSource represents a Portworx volume resource.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PortworxVolumeSource.Builder
-
Constructor Summary
Constructors Constructor Description PortworxVolumeSource()
PortworxVolumeSource(java.lang.String fsType, java.lang.Boolean readOnly, @NonNull java.lang.String volumeID)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PortworxVolumeSource.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.String
getFsType()
fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system.java.lang.Boolean
getReadOnly()
readOnly defaults to false (read/write).@NonNull java.lang.String
getVolumeID()
volumeID uniquely identifies a Portworx volumeint
hashCode()
void
setFsType(java.lang.String fsType)
fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system.void
setReadOnly(java.lang.Boolean readOnly)
readOnly defaults to false (read/write).void
setVolumeID(@NonNull java.lang.String volumeID)
volumeID uniquely identifies a Portworx volumePortworxVolumeSource.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
builder
public static PortworxVolumeSource.Builder builder()
-
toBuilder
public PortworxVolumeSource.Builder toBuilder()
-
getFsType
public java.lang.String getFsType()
fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.
-
getReadOnly
public java.lang.Boolean getReadOnly()
readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
-
getVolumeID
@NonNull public @NonNull java.lang.String getVolumeID()
volumeID uniquely identifies a Portworx volume
-
setFsType
public void setFsType(java.lang.String fsType)
fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.
-
setReadOnly
public void setReadOnly(java.lang.Boolean readOnly)
readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
-
setVolumeID
public void setVolumeID(@NonNull @NonNull java.lang.String volumeID)
volumeID uniquely identifies a Portworx volume
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-