Class ISCSIVolumeSourcePatchArgs.Builder

  • Enclosing class:
    ISCSIVolumeSourcePatchArgs

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

      • chapAuthDiscovery

        public ISCSIVolumeSourcePatchArgs.Builder chapAuthDiscovery​(@Nullable
                                                                    com.pulumi.core.Output<java.lang.Boolean> chapAuthDiscovery)
        Parameters:
        chapAuthDiscovery - chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication
        Returns:
        builder
      • chapAuthDiscovery

        public ISCSIVolumeSourcePatchArgs.Builder chapAuthDiscovery​(java.lang.Boolean chapAuthDiscovery)
        Parameters:
        chapAuthDiscovery - chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication
        Returns:
        builder
      • chapAuthSession

        public ISCSIVolumeSourcePatchArgs.Builder chapAuthSession​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.Boolean> chapAuthSession)
        Parameters:
        chapAuthSession - chapAuthSession defines whether support iSCSI Session CHAP authentication
        Returns:
        builder
      • chapAuthSession

        public ISCSIVolumeSourcePatchArgs.Builder chapAuthSession​(java.lang.Boolean chapAuthSession)
        Parameters:
        chapAuthSession - chapAuthSession defines whether support iSCSI Session CHAP authentication
        Returns:
        builder
      • fsType

        public ISCSIVolumeSourcePatchArgs.Builder fsType​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> fsType)
        Parameters:
        fsType - fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi
        Returns:
        builder
      • fsType

        public ISCSIVolumeSourcePatchArgs.Builder fsType​(java.lang.String fsType)
        Parameters:
        fsType - fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi
        Returns:
        builder
      • initiatorName

        public ISCSIVolumeSourcePatchArgs.Builder initiatorName​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> initiatorName)
        Parameters:
        initiatorName - initiatorName is the custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection.
        Returns:
        builder
      • initiatorName

        public ISCSIVolumeSourcePatchArgs.Builder initiatorName​(java.lang.String initiatorName)
        Parameters:
        initiatorName - initiatorName is the custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection.
        Returns:
        builder
      • iqn

        public ISCSIVolumeSourcePatchArgs.Builder iqn​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> iqn)
        Parameters:
        iqn - iqn is the target iSCSI Qualified Name.
        Returns:
        builder
      • iscsiInterface

        public ISCSIVolumeSourcePatchArgs.Builder iscsiInterface​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.String> iscsiInterface)
        Parameters:
        iscsiInterface - iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).
        Returns:
        builder
      • iscsiInterface

        public ISCSIVolumeSourcePatchArgs.Builder iscsiInterface​(java.lang.String iscsiInterface)
        Parameters:
        iscsiInterface - iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).
        Returns:
        builder
      • lun

        public ISCSIVolumeSourcePatchArgs.Builder lun​(@Nullable
                                                      com.pulumi.core.Output<java.lang.Integer> lun)
        Parameters:
        lun - lun represents iSCSI Target Lun number.
        Returns:
        builder
      • portals

        public ISCSIVolumeSourcePatchArgs.Builder portals​(@Nullable
                                                          com.pulumi.core.Output<java.util.List<java.lang.String>> portals)
        Parameters:
        portals - portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).
        Returns:
        builder
      • portals

        public ISCSIVolumeSourcePatchArgs.Builder portals​(java.util.List<java.lang.String> portals)
        Parameters:
        portals - portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).
        Returns:
        builder
      • portals

        public ISCSIVolumeSourcePatchArgs.Builder portals​(java.lang.String... portals)
        Parameters:
        portals - portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).
        Returns:
        builder
      • readOnly

        public ISCSIVolumeSourcePatchArgs.Builder readOnly​(@Nullable
                                                           com.pulumi.core.Output<java.lang.Boolean> readOnly)
        Parameters:
        readOnly - readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.
        Returns:
        builder
      • readOnly

        public ISCSIVolumeSourcePatchArgs.Builder readOnly​(java.lang.Boolean readOnly)
        Parameters:
        readOnly - readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.
        Returns:
        builder
      • targetPortal

        public ISCSIVolumeSourcePatchArgs.Builder targetPortal​(@Nullable
                                                               com.pulumi.core.Output<java.lang.String> targetPortal)
        Parameters:
        targetPortal - targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).
        Returns:
        builder
      • targetPortal

        public ISCSIVolumeSourcePatchArgs.Builder targetPortal​(java.lang.String targetPortal)
        Parameters:
        targetPortal - targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).
        Returns:
        builder