Class EcsLaunchTemplateDataDiskArgs.Builder

    • Method Detail

      • category

        public EcsLaunchTemplateDataDiskArgs.Builder category​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> category)
        Parameters:
        category - The category of the disk.
        Returns:
        builder
      • deleteWithInstance

        public EcsLaunchTemplateDataDiskArgs.Builder deleteWithInstance​(@Nullable
                                                                        com.pulumi.core.Output<java.lang.Boolean> deleteWithInstance)
        Parameters:
        deleteWithInstance - Indicates whether the data disk is released with the instance.
        Returns:
        builder
      • deleteWithInstance

        public EcsLaunchTemplateDataDiskArgs.Builder deleteWithInstance​(java.lang.Boolean deleteWithInstance)
        Parameters:
        deleteWithInstance - Indicates whether the data disk is released with the instance.
        Returns:
        builder
      • description

        public EcsLaunchTemplateDataDiskArgs.Builder description​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - The description of the data disk.
        Returns:
        builder
      • encrypted

        public EcsLaunchTemplateDataDiskArgs.Builder encrypted​(@Nullable
                                                               com.pulumi.core.Output<java.lang.Boolean> encrypted)
        Parameters:
        encrypted - Encrypted the data in this disk.
        Returns:
        builder
      • performanceLevel

        public EcsLaunchTemplateDataDiskArgs.Builder performanceLevel​(@Nullable
                                                                      com.pulumi.core.Output<java.lang.String> performanceLevel)
        Parameters:
        performanceLevel - The performance level of the ESSD used as the data disk.
        Returns:
        builder
      • performanceLevel

        public EcsLaunchTemplateDataDiskArgs.Builder performanceLevel​(java.lang.String performanceLevel)
        Parameters:
        performanceLevel - The performance level of the ESSD used as the data disk.
        Returns:
        builder
      • snapshotId

        public EcsLaunchTemplateDataDiskArgs.Builder snapshotId​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> snapshotId)
        Parameters:
        snapshotId - The snapshot ID used to initialize the data disk. If the size specified by snapshot is greater that the size of the disk, use the size specified by snapshot as the size of the data disk.
        Returns:
        builder
      • snapshotId

        public EcsLaunchTemplateDataDiskArgs.Builder snapshotId​(java.lang.String snapshotId)
        Parameters:
        snapshotId - The snapshot ID used to initialize the data disk. If the size specified by snapshot is greater that the size of the disk, use the size specified by snapshot as the size of the data disk.
        Returns:
        builder