Class GlusterfsPersistentVolumeSource
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.core.v1.GlusterfsPersistentVolumeSource
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class GlusterfsPersistentVolumeSource 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
GlusterfsPersistentVolumeSource.Builder
-
Constructor Summary
Constructors Constructor Description GlusterfsPersistentVolumeSource()
GlusterfsPersistentVolumeSource(@NonNull java.lang.String endpoints, java.lang.String endpointsNamespace, @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 GlusterfsPersistentVolumeSource.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.java.lang.String
getEndpointsNamespace()
endpointsNamespace is the namespace that contains Glusterfs endpoint.@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
setEndpointsNamespace(java.lang.String endpointsNamespace)
endpointsNamespace is the namespace that contains Glusterfs endpoint.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.GlusterfsPersistentVolumeSource.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Constructor Detail
-
GlusterfsPersistentVolumeSource
public GlusterfsPersistentVolumeSource(@NonNull @NonNull java.lang.String endpoints, java.lang.String endpointsNamespace, @NonNull @NonNull java.lang.String path, java.lang.Boolean readOnly)
-
GlusterfsPersistentVolumeSource
public GlusterfsPersistentVolumeSource()
-
-
Method Detail
-
builder
public static GlusterfsPersistentVolumeSource.Builder builder()
-
toBuilder
public GlusterfsPersistentVolumeSource.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
-
getEndpointsNamespace
public java.lang.String getEndpointsNamespace()
endpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. 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
-
setEndpointsNamespace
public void setEndpointsNamespace(java.lang.String endpointsNamespace)
endpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. 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
-
-