Class V1ProjectedVolumeSource

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1ProjectedVolumeSource extends Object
Represents a projected volume source
  • Field Details

  • Constructor Details

    • V1ProjectedVolumeSource

      public V1ProjectedVolumeSource()
  • Method Details

    • getDefaultMode

      public Integer getDefaultMode()
      defaultMode are the 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. 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 V1ProjectedVolumeSource defaultMode(Integer defaultMode)
      Set defaultMode in a chainable fashion.
      Returns:
      The same instance of V1ProjectedVolumeSource for chaining.
    • getSources

      public List<@Valid V1VolumeProjection> getSources()
      sources is the list of volume projections
      Returns:
      the sources property value
    • setSources

      public void setSources(List<@Valid V1VolumeProjection> sources)
      Set the sources property value
      Parameters:
      sources - property value to set
    • sources

      public V1ProjectedVolumeSource sources(List<@Valid V1VolumeProjection> sources)
      Set sources in a chainable fashion.
      Returns:
      The same instance of V1ProjectedVolumeSource for chaining.
    • addsourcesItem

      public V1ProjectedVolumeSource addsourcesItem(V1VolumeProjection sourcesItem)
      Add an item to the sources property in a chainable fashion.
      Returns:
      The same instance of V1ProjectedVolumeSource 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