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

com.pulumi.azurenative.scvmm.inputs.OsProfileForVMInstanceArgs 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.scvmm.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Defines the resource properties.
 * 
 */
public final class OsProfileForVMInstanceArgs extends com.pulumi.resources.ResourceArgs {

    public static final OsProfileForVMInstanceArgs Empty = new OsProfileForVMInstanceArgs();

    /**
     * Admin password of the virtual machine.
     * 
     */
    @Import(name="adminPassword")
    private @Nullable Output adminPassword;

    /**
     * @return Admin password of the virtual machine.
     * 
     */
    public Optional> adminPassword() {
        return Optional.ofNullable(this.adminPassword);
    }

    /**
     * Gets or sets computer name.
     * 
     */
    @Import(name="computerName")
    private @Nullable Output computerName;

    /**
     * @return Gets or sets computer name.
     * 
     */
    public Optional> computerName() {
        return Optional.ofNullable(this.computerName);
    }

    private OsProfileForVMInstanceArgs() {}

    private OsProfileForVMInstanceArgs(OsProfileForVMInstanceArgs $) {
        this.adminPassword = $.adminPassword;
        this.computerName = $.computerName;
    }

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

    public static final class Builder {
        private OsProfileForVMInstanceArgs $;

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

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

        /**
         * @param adminPassword Admin password of the virtual machine.
         * 
         * @return builder
         * 
         */
        public Builder adminPassword(@Nullable Output adminPassword) {
            $.adminPassword = adminPassword;
            return this;
        }

        /**
         * @param adminPassword Admin password of the virtual machine.
         * 
         * @return builder
         * 
         */
        public Builder adminPassword(String adminPassword) {
            return adminPassword(Output.of(adminPassword));
        }

        /**
         * @param computerName Gets or sets computer name.
         * 
         * @return builder
         * 
         */
        public Builder computerName(@Nullable Output computerName) {
            $.computerName = computerName;
            return this;
        }

        /**
         * @param computerName Gets or sets computer name.
         * 
         * @return builder
         * 
         */
        public Builder computerName(String computerName) {
            return computerName(Output.of(computerName));
        }

        public OsProfileForVMInstanceArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy