Class V1FlexPersistentVolumeSource

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

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

  • Constructor Details

    • V1FlexPersistentVolumeSource

      public V1FlexPersistentVolumeSource(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
      Parameters:
      driver - property value to set
    • driver

      public V1FlexPersistentVolumeSource driver(String driver)
      Set driver in a chainable fashion.
      Returns:
      The same instance of V1FlexPersistentVolumeSource 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
      Parameters:
      fsType - property value to set
    • fsType

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

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

      public void setOptions(Map<String,@NotNull String> options)
      Set the options property value
      Parameters:
      options - property value to set
    • options

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

      public V1FlexPersistentVolumeSource 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 V1FlexPersistentVolumeSource 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
      Parameters:
      readOnly - property value to set
    • readOnly

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

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

      public void setSecretRef(V1SecretReference secretRef)
      Set the secretRef property value
      Parameters:
      secretRef - property value to set
    • secretRef

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