Class VolumeAttachmentSourceArgs.Builder

  • Enclosing class:
    VolumeAttachmentSourceArgs

    public static final class VolumeAttachmentSourceArgs.Builder
    extends java.lang.Object
    • Method Detail

      • inlineVolumeSpec

        public VolumeAttachmentSourceArgs.Builder inlineVolumeSpec​(@Nullable
                                                                   com.pulumi.core.Output<PersistentVolumeSpecArgs> inlineVolumeSpec)
        Parameters:
        inlineVolumeSpec - inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is alpha-level and is only honored by servers that enabled the CSIMigration feature.
        Returns:
        builder
      • inlineVolumeSpec

        public VolumeAttachmentSourceArgs.Builder inlineVolumeSpec​(PersistentVolumeSpecArgs inlineVolumeSpec)
        Parameters:
        inlineVolumeSpec - inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is alpha-level and is only honored by servers that enabled the CSIMigration feature.
        Returns:
        builder
      • persistentVolumeName

        public VolumeAttachmentSourceArgs.Builder persistentVolumeName​(@Nullable
                                                                       com.pulumi.core.Output<java.lang.String> persistentVolumeName)
        Parameters:
        persistentVolumeName - Name of the persistent volume to attach.
        Returns:
        builder
      • persistentVolumeName

        public VolumeAttachmentSourceArgs.Builder persistentVolumeName​(java.lang.String persistentVolumeName)
        Parameters:
        persistentVolumeName - Name of the persistent volume to attach.
        Returns:
        builder