Class V1DownwardAPIVolumeFile

java.lang.Object
io.kubernetes.client.openapi.models.V1DownwardAPIVolumeFile

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-12-05T08:14:34.919Z[Etc/UTC]") public class V1DownwardAPIVolumeFile extends Object
DownwardAPIVolumeFile represents information to create the file containing the pod field
  • Field Details

  • Constructor Details

    • V1DownwardAPIVolumeFile

      public V1DownwardAPIVolumeFile()
  • Method Details

    • fieldRef

      public V1DownwardAPIVolumeFile fieldRef(V1ObjectFieldSelector fieldRef)
    • getFieldRef

      @Nullable public V1ObjectFieldSelector getFieldRef()
      Get fieldRef
      Returns:
      fieldRef
    • setFieldRef

      public void setFieldRef(V1ObjectFieldSelector fieldRef)
    • mode

      public V1DownwardAPIVolumeFile mode(Integer mode)
    • getMode

      @Nullable 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:
      mode
    • setMode

      public void setMode(Integer mode)
    • path

      public V1DownwardAPIVolumeFile path(String path)
    • 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:
      path
    • setPath

      public void setPath(String path)
    • resourceFieldRef

      public V1DownwardAPIVolumeFile resourceFieldRef(V1ResourceFieldSelector resourceFieldRef)
    • getResourceFieldRef

      @Nullable public V1ResourceFieldSelector getResourceFieldRef()
      Get resourceFieldRef
      Returns:
      resourceFieldRef
    • setResourceFieldRef

      public void setResourceFieldRef(V1ResourceFieldSelector resourceFieldRef)
    • 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