Class V1DownwardAPIVolumeSource

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1DownwardAPIVolumeSource extends Object
DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.
  • Field Details

  • Constructor Details

    • V1DownwardAPIVolumeSource

      public V1DownwardAPIVolumeSource()
  • Method Details

    • getDefaultMode

      public Integer getDefaultMode()
      Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. 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. Defaults to 0644. Directories within the path are not affected by this setting. 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 defaultMode property value
    • setDefaultMode

      public void setDefaultMode(Integer defaultMode)
      Set the defaultMode property value
      Parameters:
      defaultMode - property value to set
    • defaultMode

      public V1DownwardAPIVolumeSource defaultMode(Integer defaultMode)
      Set defaultMode in a chainable fashion.
      Returns:
      The same instance of V1DownwardAPIVolumeSource for chaining.
    • getItems

      public List<@Valid V1DownwardAPIVolumeFile> getItems()
      Items is a list of downward API volume file
      Returns:
      the items property value
    • setItems

      public void setItems(List<@Valid V1DownwardAPIVolumeFile> items)
      Set the items property value
      Parameters:
      items - property value to set
    • items

      Set items in a chainable fashion.
      Returns:
      The same instance of V1DownwardAPIVolumeSource for chaining.
    • additemsItem

      public V1DownwardAPIVolumeSource additemsItem(V1DownwardAPIVolumeFile itemsItem)
      Add an item to the items property in a chainable fashion.
      Returns:
      The same instance of V1DownwardAPIVolumeSource 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