Package com.pulumi.alicloud.ecs.inputs
Class EcsLaunchTemplateDataDiskArgs.Builder
- java.lang.Object
-
- com.pulumi.alicloud.ecs.inputs.EcsLaunchTemplateDataDiskArgs.Builder
-
- Enclosing class:
- EcsLaunchTemplateDataDiskArgs
public static final class EcsLaunchTemplateDataDiskArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(EcsLaunchTemplateDataDiskArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(EcsLaunchTemplateDataDiskArgs defaults)
-
-
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
-
category
public EcsLaunchTemplateDataDiskArgs.Builder category(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
-
description
public EcsLaunchTemplateDataDiskArgs.Builder description(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
-
encrypted
public EcsLaunchTemplateDataDiskArgs.Builder encrypted(java.lang.Boolean encrypted)
- Parameters:
encrypted
- Encrypted the data in this disk.- Returns:
- builder
-
name
public EcsLaunchTemplateDataDiskArgs.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name
- The name of the data disk.- Returns:
- builder
-
name
public EcsLaunchTemplateDataDiskArgs.Builder name(java.lang.String name)
- Parameters:
name
- The name of the data 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
-
size
public EcsLaunchTemplateDataDiskArgs.Builder size(@Nullable com.pulumi.core.Output<java.lang.Integer> size)
- Parameters:
size
- The size of the data disk.- Returns:
- builder
-
size
public EcsLaunchTemplateDataDiskArgs.Builder size(java.lang.Integer size)
- Parameters:
size
- The size of 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
-
build
public EcsLaunchTemplateDataDiskArgs build()
-
-