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

com.pulumi.azurenative.databox.inputs.ImportDiskDetailsArgs Maven / Gradle / Ivy

There is a newer version: 2.78.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.databox.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


/**
 * Import disk details
 * 
 */
public final class ImportDiskDetailsArgs extends com.pulumi.resources.ResourceArgs {

    public static final ImportDiskDetailsArgs Empty = new ImportDiskDetailsArgs();

    /**
     * BitLocker key used to encrypt the disk.
     * 
     */
    @Import(name="bitLockerKey", required=true)
    private Output bitLockerKey;

    /**
     * @return BitLocker key used to encrypt the disk.
     * 
     */
    public Output bitLockerKey() {
        return this.bitLockerKey;
    }

    /**
     * The relative path of the manifest file on the disk.
     * 
     */
    @Import(name="manifestFile", required=true)
    private Output manifestFile;

    /**
     * @return The relative path of the manifest file on the disk.
     * 
     */
    public Output manifestFile() {
        return this.manifestFile;
    }

    /**
     * The Base16-encoded MD5 hash of the manifest file on the disk.
     * 
     */
    @Import(name="manifestHash", required=true)
    private Output manifestHash;

    /**
     * @return The Base16-encoded MD5 hash of the manifest file on the disk.
     * 
     */
    public Output manifestHash() {
        return this.manifestHash;
    }

    private ImportDiskDetailsArgs() {}

    private ImportDiskDetailsArgs(ImportDiskDetailsArgs $) {
        this.bitLockerKey = $.bitLockerKey;
        this.manifestFile = $.manifestFile;
        this.manifestHash = $.manifestHash;
    }

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

    public static final class Builder {
        private ImportDiskDetailsArgs $;

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

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

        /**
         * @param bitLockerKey BitLocker key used to encrypt the disk.
         * 
         * @return builder
         * 
         */
        public Builder bitLockerKey(Output bitLockerKey) {
            $.bitLockerKey = bitLockerKey;
            return this;
        }

        /**
         * @param bitLockerKey BitLocker key used to encrypt the disk.
         * 
         * @return builder
         * 
         */
        public Builder bitLockerKey(String bitLockerKey) {
            return bitLockerKey(Output.of(bitLockerKey));
        }

        /**
         * @param manifestFile The relative path of the manifest file on the disk.
         * 
         * @return builder
         * 
         */
        public Builder manifestFile(Output manifestFile) {
            $.manifestFile = manifestFile;
            return this;
        }

        /**
         * @param manifestFile The relative path of the manifest file on the disk.
         * 
         * @return builder
         * 
         */
        public Builder manifestFile(String manifestFile) {
            return manifestFile(Output.of(manifestFile));
        }

        /**
         * @param manifestHash The Base16-encoded MD5 hash of the manifest file on the disk.
         * 
         * @return builder
         * 
         */
        public Builder manifestHash(Output manifestHash) {
            $.manifestHash = manifestHash;
            return this;
        }

        /**
         * @param manifestHash The Base16-encoded MD5 hash of the manifest file on the disk.
         * 
         * @return builder
         * 
         */
        public Builder manifestHash(String manifestHash) {
            return manifestHash(Output.of(manifestHash));
        }

        public ImportDiskDetailsArgs build() {
            if ($.bitLockerKey == null) {
                throw new MissingRequiredPropertyException("ImportDiskDetailsArgs", "bitLockerKey");
            }
            if ($.manifestFile == null) {
                throw new MissingRequiredPropertyException("ImportDiskDetailsArgs", "manifestFile");
            }
            if ($.manifestHash == null) {
                throw new MissingRequiredPropertyException("ImportDiskDetailsArgs", "manifestHash");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy