Package com.pulumi.gcp.notebooks.inputs
Class RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.notebooks.inputs.RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs.Builder
-
public static final class RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs defaults)
-
-
Method Detail
-
description
public RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description
- Provide this property when creating the disk.- Returns:
- builder
-
description
public RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs.Builder description(java.lang.String description)
- Parameters:
description
- Provide this property when creating the disk.- Returns:
- builder
-
diskName
public RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs.Builder diskName(@Nullable com.pulumi.core.Output<java.lang.String> diskName)
- Parameters:
diskName
- Specifies the disk name. If not specified, the default is to use the name of the instance. If the disk with the instance name exists already in the given zone/region, a new name will be automatically generated.- Returns:
- builder
-
diskName
public RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs.Builder diskName(java.lang.String diskName)
- Parameters:
diskName
- Specifies the disk name. If not specified, the default is to use the name of the instance. If the disk with the instance name exists already in the given zone/region, a new name will be automatically generated.- Returns:
- builder
-
diskSizeGb
public RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs.Builder diskSizeGb(@Nullable com.pulumi.core.Output<java.lang.Integer> diskSizeGb)
- Parameters:
diskSizeGb
- Specifies the size of the disk in base-2 GB. If not specified, the disk will be the same size as the image (usually 10GB). If specified, the size must be equal to or larger than 10GB. Default 100 GB.- Returns:
- builder
-
diskSizeGb
public RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs.Builder diskSizeGb(java.lang.Integer diskSizeGb)
- Parameters:
diskSizeGb
- Specifies the size of the disk in base-2 GB. If not specified, the disk will be the same size as the image (usually 10GB). If specified, the size must be equal to or larger than 10GB. Default 100 GB.- Returns:
- builder
-
diskType
public RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs.Builder diskType(@Nullable com.pulumi.core.Output<java.lang.String> diskType)
- Parameters:
diskType
- The type of the boot disk attached to this runtime, defaults to standard persistent disk. For valid values, see `https://cloud.google.com/vertex-ai/docs/workbench/ reference/rest/v1/projects.locations.runtimes#disktype`- Returns:
- builder
-
diskType
public RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs.Builder diskType(java.lang.String diskType)
- Parameters:
diskType
- The type of the boot disk attached to this runtime, defaults to standard persistent disk. For valid values, see `https://cloud.google.com/vertex-ai/docs/workbench/ reference/rest/v1/projects.locations.runtimes#disktype`- Returns:
- builder
-
labels
public RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs.Builder labels(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> labels)
- Parameters:
labels
- Labels to apply to this disk. These can be later modified by the disks.setLabels method. This field is only applicable for persistent disks.- Returns:
- builder
-
labels
public RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs.Builder labels(java.util.Map<java.lang.String,java.lang.String> labels)
- Parameters:
labels
- Labels to apply to this disk. These can be later modified by the disks.setLabels method. This field is only applicable for persistent disks.- Returns:
- builder
-
build
public RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs build()
-
-