Class VolumeAttachmentSource

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<VolumeAttachmentSourceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class VolumeAttachmentSource
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<VolumeAttachmentSourceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.
    See Also:
    Serialized Form
    • Constructor Detail

      • VolumeAttachmentSource

        public VolumeAttachmentSource()
        No args constructor for use in serialization
      • VolumeAttachmentSource

        public VolumeAttachmentSource​(io.fabric8.kubernetes.api.model.PersistentVolumeSpec inlineVolumeSpec,
                                      String persistentVolumeName)
    • Method Detail

      • getInlineVolumeSpec

        public io.fabric8.kubernetes.api.model.PersistentVolumeSpec getInlineVolumeSpec()
        VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.
      • setInlineVolumeSpec

        public void setInlineVolumeSpec​(io.fabric8.kubernetes.api.model.PersistentVolumeSpec inlineVolumeSpec)
        VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.
      • getPersistentVolumeName

        public String getPersistentVolumeName()
        Name of the persistent volume to attach.
      • setPersistentVolumeName

        public void setPersistentVolumeName​(String persistentVolumeName)
        Name of the persistent volume to attach.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)