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

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


/**
 * Describes the properties of the Virtual Machine for which the restore point was created. The properties provided are a subset and the snapshot of the overall Virtual Machine properties captured at the time of the restore point creation.
 * 
 */
public final class RestorePointSourceMetadataArgs extends com.pulumi.resources.ResourceArgs {

    public static final RestorePointSourceMetadataArgs Empty = new RestorePointSourceMetadataArgs();

    /**
     * Gets the storage profile.
     * 
     */
    @Import(name="storageProfile")
    private @Nullable Output storageProfile;

    /**
     * @return Gets the storage profile.
     * 
     */
    public Optional> storageProfile() {
        return Optional.ofNullable(this.storageProfile);
    }

    private RestorePointSourceMetadataArgs() {}

    private RestorePointSourceMetadataArgs(RestorePointSourceMetadataArgs $) {
        this.storageProfile = $.storageProfile;
    }

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

    public static final class Builder {
        private RestorePointSourceMetadataArgs $;

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

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

        /**
         * @param storageProfile Gets the storage profile.
         * 
         * @return builder
         * 
         */
        public Builder storageProfile(@Nullable Output storageProfile) {
            $.storageProfile = storageProfile;
            return this;
        }

        /**
         * @param storageProfile Gets the storage profile.
         * 
         * @return builder
         * 
         */
        public Builder storageProfile(RestorePointSourceVMStorageProfileArgs storageProfile) {
            return storageProfile(Output.of(storageProfile));
        }

        public RestorePointSourceMetadataArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy