All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.compute.inputs.RestorePointSourceVMStorageProfileArgs Maven / Gradle / Ivy

There is a newer version: 2.72.0
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azurenative.compute.inputs;

import com.pulumi.azurenative.compute.inputs.RestorePointSourceVMDataDiskArgs;
import com.pulumi.azurenative.compute.inputs.RestorePointSourceVMOSDiskArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Describes the storage profile.
 * 
 */
public final class RestorePointSourceVMStorageProfileArgs extends com.pulumi.resources.ResourceArgs {

    public static final RestorePointSourceVMStorageProfileArgs Empty = new RestorePointSourceVMStorageProfileArgs();

    /**
     * Gets the data disks of the VM captured at the time of the restore point creation.
     * 
     */
    @Import(name="dataDisks")
    private @Nullable Output> dataDisks;

    /**
     * @return Gets the data disks of the VM captured at the time of the restore point creation.
     * 
     */
    public Optional>> dataDisks() {
        return Optional.ofNullable(this.dataDisks);
    }

    /**
     * Gets the OS disk of the VM captured at the time of the restore point creation.
     * 
     */
    @Import(name="osDisk")
    private @Nullable Output osDisk;

    /**
     * @return Gets the OS disk of the VM captured at the time of the restore point creation.
     * 
     */
    public Optional> osDisk() {
        return Optional.ofNullable(this.osDisk);
    }

    private RestorePointSourceVMStorageProfileArgs() {}

    private RestorePointSourceVMStorageProfileArgs(RestorePointSourceVMStorageProfileArgs $) {
        this.dataDisks = $.dataDisks;
        this.osDisk = $.osDisk;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(RestorePointSourceVMStorageProfileArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private RestorePointSourceVMStorageProfileArgs $;

        public Builder() {
            $ = new RestorePointSourceVMStorageProfileArgs();
        }

        public Builder(RestorePointSourceVMStorageProfileArgs defaults) {
            $ = new RestorePointSourceVMStorageProfileArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param dataDisks Gets the data disks of the VM captured at the time of the restore point creation.
         * 
         * @return builder
         * 
         */
        public Builder dataDisks(@Nullable Output> dataDisks) {
            $.dataDisks = dataDisks;
            return this;
        }

        /**
         * @param dataDisks Gets the data disks of the VM captured at the time of the restore point creation.
         * 
         * @return builder
         * 
         */
        public Builder dataDisks(List dataDisks) {
            return dataDisks(Output.of(dataDisks));
        }

        /**
         * @param dataDisks Gets the data disks of the VM captured at the time of the restore point creation.
         * 
         * @return builder
         * 
         */
        public Builder dataDisks(RestorePointSourceVMDataDiskArgs... dataDisks) {
            return dataDisks(List.of(dataDisks));
        }

        /**
         * @param osDisk Gets the OS disk of the VM captured at the time of the restore point creation.
         * 
         * @return builder
         * 
         */
        public Builder osDisk(@Nullable Output osDisk) {
            $.osDisk = osDisk;
            return this;
        }

        /**
         * @param osDisk Gets the OS disk of the VM captured at the time of the restore point creation.
         * 
         * @return builder
         * 
         */
        public Builder osDisk(RestorePointSourceVMOSDiskArgs osDisk) {
            return osDisk(Output.of(osDisk));
        }

        public RestorePointSourceVMStorageProfileArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy