Class GlusterfsVolumeSource
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.core.v1.GlusterfsVolumeSource
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class GlusterfsVolumeSource extends java.lang.Object implements com.marcnuri.yakc.model.Model
Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GlusterfsVolumeSource.Builder
-
Constructor Summary
Constructors Constructor Description GlusterfsVolumeSource()
GlusterfsVolumeSource(@NonNull java.lang.String endpoints, @NonNull java.lang.String path, java.lang.Boolean readOnly)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GlusterfsVolumeSource.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
@NonNull java.lang.String
getEndpoints()
endpoints is the endpoint name that details Glusterfs topology.@NonNull java.lang.String
getPath()
path is the Glusterfs volume path.java.lang.Boolean
getReadOnly()
readOnly here will force the Glusterfs volume to be mounted with read-only permissions.int
hashCode()
void
setEndpoints(@NonNull java.lang.String endpoints)
endpoints is the endpoint name that details Glusterfs topology.void
setPath(@NonNull java.lang.String path)
path is the Glusterfs volume path.void
setReadOnly(java.lang.Boolean readOnly)
readOnly here will force the Glusterfs volume to be mounted with read-only permissions.GlusterfsVolumeSource.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
builder
public static GlusterfsVolumeSource.Builder builder()
-
toBuilder
public GlusterfsVolumeSource.Builder toBuilder()
-
getEndpoints
@NonNull public @NonNull java.lang.String getEndpoints()
endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
-
getPath
@NonNull public @NonNull java.lang.String getPath()
path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
-
getReadOnly
public java.lang.Boolean getReadOnly()
readOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
-
setEndpoints
public void setEndpoints(@NonNull @NonNull java.lang.String endpoints)
endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
-
setPath
public void setPath(@NonNull @NonNull java.lang.String path)
path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
-
setReadOnly
public void setReadOnly(java.lang.Boolean readOnly)
readOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
-
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
-
-