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

com.pulumi.azurenative.compute.inputs.RestorePointSourceVMOSDiskArgs 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.DiskRestorePointAttributesArgs;
import com.pulumi.azurenative.compute.inputs.ManagedDiskParametersArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Describes an Operating System disk.
 * 
 */
public final class RestorePointSourceVMOSDiskArgs extends com.pulumi.resources.ResourceArgs {

    public static final RestorePointSourceVMOSDiskArgs Empty = new RestorePointSourceVMOSDiskArgs();

    /**
     * Contains Disk Restore Point properties.
     * 
     */
    @Import(name="diskRestorePoint")
    private @Nullable Output diskRestorePoint;

    /**
     * @return Contains Disk Restore Point properties.
     * 
     */
    public Optional> diskRestorePoint() {
        return Optional.ofNullable(this.diskRestorePoint);
    }

    /**
     * Gets the managed disk details
     * 
     */
    @Import(name="managedDisk")
    private @Nullable Output managedDisk;

    /**
     * @return Gets the managed disk details
     * 
     */
    public Optional> managedDisk() {
        return Optional.ofNullable(this.managedDisk);
    }

    private RestorePointSourceVMOSDiskArgs() {}

    private RestorePointSourceVMOSDiskArgs(RestorePointSourceVMOSDiskArgs $) {
        this.diskRestorePoint = $.diskRestorePoint;
        this.managedDisk = $.managedDisk;
    }

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

    public static final class Builder {
        private RestorePointSourceVMOSDiskArgs $;

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

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

        /**
         * @param diskRestorePoint Contains Disk Restore Point properties.
         * 
         * @return builder
         * 
         */
        public Builder diskRestorePoint(@Nullable Output diskRestorePoint) {
            $.diskRestorePoint = diskRestorePoint;
            return this;
        }

        /**
         * @param diskRestorePoint Contains Disk Restore Point properties.
         * 
         * @return builder
         * 
         */
        public Builder diskRestorePoint(DiskRestorePointAttributesArgs diskRestorePoint) {
            return diskRestorePoint(Output.of(diskRestorePoint));
        }

        /**
         * @param managedDisk Gets the managed disk details
         * 
         * @return builder
         * 
         */
        public Builder managedDisk(@Nullable Output managedDisk) {
            $.managedDisk = managedDisk;
            return this;
        }

        /**
         * @param managedDisk Gets the managed disk details
         * 
         * @return builder
         * 
         */
        public Builder managedDisk(ManagedDiskParametersArgs managedDisk) {
            return managedDisk(Output.of(managedDisk));
        }

        public RestorePointSourceVMOSDiskArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy