Class V1FlockerVolumeSource

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-12-05T08:14:34.919Z[Etc/UTC]") public class V1FlockerVolumeSource extends Object
Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling.
  • Field Details

  • Constructor Details

    • V1FlockerVolumeSource

      public V1FlockerVolumeSource()
  • Method Details

    • datasetName

      public V1FlockerVolumeSource datasetName(String datasetName)
    • getDatasetName

      @Nullable public String getDatasetName()
      datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated
      Returns:
      datasetName
    • setDatasetName

      public void setDatasetName(String datasetName)
    • datasetUUID

      public V1FlockerVolumeSource datasetUUID(String datasetUUID)
    • getDatasetUUID

      @Nullable public String getDatasetUUID()
      datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset
      Returns:
      datasetUUID
    • setDatasetUUID

      public void setDatasetUUID(String datasetUUID)
    • 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