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

com.pulumi.azurenative.baremetalinfrastructure.inputs.OSProfileArgs 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.baremetalinfrastructure.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;


/**
 * Specifies the operating system settings for the Azure Bare Metal instance.
 * 
 */
public final class OSProfileArgs extends com.pulumi.resources.ResourceArgs {

    public static final OSProfileArgs Empty = new OSProfileArgs();

    /**
     * Specifies the host OS name of the Azure Bare Metal instance.
     * 
     */
    @Import(name="computerName")
    private @Nullable Output computerName;

    /**
     * @return Specifies the host OS name of the Azure Bare Metal instance.
     * 
     */
    public Optional> computerName() {
        return Optional.ofNullable(this.computerName);
    }

    /**
     * This property allows you to specify the type of the OS.
     * 
     */
    @Import(name="osType")
    private @Nullable Output osType;

    /**
     * @return This property allows you to specify the type of the OS.
     * 
     */
    public Optional> osType() {
        return Optional.ofNullable(this.osType);
    }

    /**
     * Specifies the SSH public key used to access the operating system.
     * 
     */
    @Import(name="sshPublicKey")
    private @Nullable Output sshPublicKey;

    /**
     * @return Specifies the SSH public key used to access the operating system.
     * 
     */
    public Optional> sshPublicKey() {
        return Optional.ofNullable(this.sshPublicKey);
    }

    /**
     * Specifies version of operating system.
     * 
     */
    @Import(name="version")
    private @Nullable Output version;

    /**
     * @return Specifies version of operating system.
     * 
     */
    public Optional> version() {
        return Optional.ofNullable(this.version);
    }

    private OSProfileArgs() {}

    private OSProfileArgs(OSProfileArgs $) {
        this.computerName = $.computerName;
        this.osType = $.osType;
        this.sshPublicKey = $.sshPublicKey;
        this.version = $.version;
    }

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

    public static final class Builder {
        private OSProfileArgs $;

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

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

        /**
         * @param computerName Specifies the host OS name of the Azure Bare Metal instance.
         * 
         * @return builder
         * 
         */
        public Builder computerName(@Nullable Output computerName) {
            $.computerName = computerName;
            return this;
        }

        /**
         * @param computerName Specifies the host OS name of the Azure Bare Metal instance.
         * 
         * @return builder
         * 
         */
        public Builder computerName(String computerName) {
            return computerName(Output.of(computerName));
        }

        /**
         * @param osType This property allows you to specify the type of the OS.
         * 
         * @return builder
         * 
         */
        public Builder osType(@Nullable Output osType) {
            $.osType = osType;
            return this;
        }

        /**
         * @param osType This property allows you to specify the type of the OS.
         * 
         * @return builder
         * 
         */
        public Builder osType(String osType) {
            return osType(Output.of(osType));
        }

        /**
         * @param sshPublicKey Specifies the SSH public key used to access the operating system.
         * 
         * @return builder
         * 
         */
        public Builder sshPublicKey(@Nullable Output sshPublicKey) {
            $.sshPublicKey = sshPublicKey;
            return this;
        }

        /**
         * @param sshPublicKey Specifies the SSH public key used to access the operating system.
         * 
         * @return builder
         * 
         */
        public Builder sshPublicKey(String sshPublicKey) {
            return sshPublicKey(Output.of(sshPublicKey));
        }

        /**
         * @param version Specifies version of operating system.
         * 
         * @return builder
         * 
         */
        public Builder version(@Nullable Output version) {
            $.version = version;
            return this;
        }

        /**
         * @param version Specifies version of operating system.
         * 
         * @return builder
         * 
         */
        public Builder version(String version) {
            return version(Output.of(version));
        }

        public OSProfileArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy