Class 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.
    • 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()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • GlusterfsVolumeSource

        public GlusterfsVolumeSource​(@NonNull
                                     @NonNull java.lang.String endpoints,
                                     @NonNull
                                     @NonNull java.lang.String path,
                                     java.lang.Boolean readOnly)
      • GlusterfsVolumeSource

        public GlusterfsVolumeSource()
    • Method Detail

      • 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 class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object