Class V1DownwardAPIVolumeFile

java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1DownwardAPIVolumeFile

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1DownwardAPIVolumeFile extends Object
DownwardAPIVolumeFile represents information to create the file containing the pod field
  • Field Details

  • Constructor Details

    • V1DownwardAPIVolumeFile

      public V1DownwardAPIVolumeFile(String path)
  • Method Details

    • getPath

      public String getPath()
      Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'
      Returns:
      the path property value
    • setPath

      public void setPath(String path)
      Set the path property value
      Parameters:
      path - property value to set
    • path

      public V1DownwardAPIVolumeFile path(String path)
      Set path in a chainable fashion.
      Returns:
      The same instance of V1DownwardAPIVolumeFile for chaining.
    • getFieldRef

      public V1ObjectFieldSelector getFieldRef()
      Returns:
      the fieldRef property value
    • setFieldRef

      public void setFieldRef(V1ObjectFieldSelector fieldRef)
      Set the fieldRef property value
      Parameters:
      fieldRef - property value to set
    • fieldRef

      public V1DownwardAPIVolumeFile fieldRef(V1ObjectFieldSelector fieldRef)
      Set fieldRef in a chainable fashion.
      Returns:
      The same instance of V1DownwardAPIVolumeFile for chaining.
    • getMode

      public Integer getMode()
      Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
      Returns:
      the mode property value
    • setMode

      public void setMode(Integer mode)
      Set the mode property value
      Parameters:
      mode - property value to set
    • mode

      public V1DownwardAPIVolumeFile mode(Integer mode)
      Set mode in a chainable fashion.
      Returns:
      The same instance of V1DownwardAPIVolumeFile for chaining.
    • getResourceFieldRef

      public V1ResourceFieldSelector getResourceFieldRef()
      Returns:
      the resourceFieldRef property value
    • setResourceFieldRef

      public void setResourceFieldRef(V1ResourceFieldSelector resourceFieldRef)
      Set the resourceFieldRef property value
      Parameters:
      resourceFieldRef - property value to set
    • resourceFieldRef

      public V1DownwardAPIVolumeFile resourceFieldRef(V1ResourceFieldSelector resourceFieldRef)
      Set resourceFieldRef in a chainable fashion.
      Returns:
      The same instance of V1DownwardAPIVolumeFile for chaining.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object