Class V1FlexVolumeSource

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1FlexVolumeSource extends Object
FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.
  • Field Details

  • Constructor Details

    • V1FlexVolumeSource

      public V1FlexVolumeSource(String driver)
  • Method Details

    • getDriver

      public String getDriver()
      driver is the name of the driver to use for this volume.
      Returns:
      the driver property value
    • setDriver

      public void setDriver(String driver)
      Set the driver property value
    • driver

      public V1FlexVolumeSource driver(String driver)
      Set driver in a chainable fashion.
      Returns:
      The same instance of V1FlexVolumeSource for chaining.
    • getFsType

      public String getFsType()
      fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script.
      Returns:
      the fsType property value
    • setFsType

      public void setFsType(String fsType)
      Set the fsType property value
    • fsType

      public V1FlexVolumeSource fsType(String fsType)
      Set fsType in a chainable fashion.
      Returns:
      The same instance of V1FlexVolumeSource for chaining.
    • getOptions

      public Map<String,String> getOptions()
      options is Optional: this field holds extra command options if any.
      Returns:
      the options property value
    • setOptions

      public void setOptions(Map<String,String> options)
      Set the options property value
    • options

      public V1FlexVolumeSource options(Map<String,String> options)
      Set options in a chainable fashion.
      Returns:
      The same instance of V1FlexVolumeSource for chaining.
    • putoptionsItem

      public V1FlexVolumeSource putoptionsItem(String key, String optionsItem)
      Set the value for the key for the options map property in a chainable fashion.
      Returns:
      The same instance of V1FlexVolumeSource for chaining.
    • getReadOnly

      public Boolean getReadOnly()
      readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
      Returns:
      the readOnly property value
    • setReadOnly

      public void setReadOnly(Boolean readOnly)
      Set the readOnly property value
    • readOnly

      public V1FlexVolumeSource readOnly(Boolean readOnly)
      Set readOnly in a chainable fashion.
      Returns:
      The same instance of V1FlexVolumeSource for chaining.
    • getSecretRef

      public V1LocalObjectReference getSecretRef()
      Returns:
      the secretRef property value
    • setSecretRef

      public void setSecretRef(V1LocalObjectReference secretRef)
      Set the secretRef property value
    • secretRef

      public V1FlexVolumeSource secretRef(V1LocalObjectReference secretRef)
      Set secretRef in a chainable fashion.
      Returns:
      The same instance of V1FlexVolumeSource 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