Class MachineImageState.Builder

  • Enclosing class:
    MachineImageState

    public static final class MachineImageState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • description

        public MachineImageState.Builder description​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - A text description of the resource.
        Returns:
        builder
      • description

        public MachineImageState.Builder description​(java.lang.String description)
        Parameters:
        description - A text description of the resource.
        Returns:
        builder
      • guestFlush

        public MachineImageState.Builder guestFlush​(@Nullable
                                                    com.pulumi.core.Output<java.lang.Boolean> guestFlush)
        Parameters:
        guestFlush - Specify this to create an application consistent machine image by informing the OS to prepare for the snapshot process. Currently only supported on Windows instances using the Volume Shadow Copy Service (VSS).
        Returns:
        builder
      • guestFlush

        public MachineImageState.Builder guestFlush​(java.lang.Boolean guestFlush)
        Parameters:
        guestFlush - Specify this to create an application consistent machine image by informing the OS to prepare for the snapshot process. Currently only supported on Windows instances using the Volume Shadow Copy Service (VSS).
        Returns:
        builder
      • machineImageEncryptionKey

        public MachineImageState.Builder machineImageEncryptionKey​(@Nullable
                                                                   com.pulumi.core.Output<MachineImageMachineImageEncryptionKeyArgs> machineImageEncryptionKey)
        Parameters:
        machineImageEncryptionKey - Encrypts the machine image using a customer-supplied encryption key. After you encrypt a machine image with a customer-supplied key, you must provide the same key if you use the machine image later (e.g. to create a instance from the image) Structure is documented below.
        Returns:
        builder
      • machineImageEncryptionKey

        public MachineImageState.Builder machineImageEncryptionKey​(MachineImageMachineImageEncryptionKeyArgs machineImageEncryptionKey)
        Parameters:
        machineImageEncryptionKey - Encrypts the machine image using a customer-supplied encryption key. After you encrypt a machine image with a customer-supplied key, you must provide the same key if you use the machine image later (e.g. to create a instance from the image) Structure is documented below.
        Returns:
        builder
      • name

        public MachineImageState.Builder name​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the resource.
        Returns:
        builder
      • name

        public MachineImageState.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the resource.
        Returns:
        builder
      • project

        public MachineImageState.Builder project​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> project)
        Parameters:
        project - The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
        Returns:
        builder
      • project

        public MachineImageState.Builder project​(java.lang.String project)
        Parameters:
        project - The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
        Returns:
        builder
      • selfLink

        public MachineImageState.Builder selfLink​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> selfLink)
        Parameters:
        selfLink - The URI of the created resource.
        Returns:
        builder
      • selfLink

        public MachineImageState.Builder selfLink​(java.lang.String selfLink)
        Parameters:
        selfLink - The URI of the created resource.
        Returns:
        builder
      • sourceInstance

        public MachineImageState.Builder sourceInstance​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> sourceInstance)
        Parameters:
        sourceInstance - The source instance used to create the machine image. You can provide this as a partial or full URL to the resource. ***
        Returns:
        builder
      • sourceInstance

        public MachineImageState.Builder sourceInstance​(java.lang.String sourceInstance)
        Parameters:
        sourceInstance - The source instance used to create the machine image. You can provide this as a partial or full URL to the resource. ***
        Returns:
        builder
      • storageLocations

        public MachineImageState.Builder storageLocations​(@Nullable
                                                          com.pulumi.core.Output<java.util.List<java.lang.String>> storageLocations)
        Parameters:
        storageLocations - The regional or multi-regional Cloud Storage bucket location where the machine image is stored.
        Returns:
        builder
      • storageLocations

        public MachineImageState.Builder storageLocations​(java.util.List<java.lang.String> storageLocations)
        Parameters:
        storageLocations - The regional or multi-regional Cloud Storage bucket location where the machine image is stored.
        Returns:
        builder
      • storageLocations

        public MachineImageState.Builder storageLocations​(java.lang.String... storageLocations)
        Parameters:
        storageLocations - The regional or multi-regional Cloud Storage bucket location where the machine image is stored.
        Returns:
        builder