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

com.pulumi.azurenative.testbase.inputs.InplaceUpgradeOSInfoArgs 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.testbase.inputs;

import com.pulumi.azurenative.testbase.inputs.OsPropertiesArgs;
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 baseline os and target os for in-place upgrade tests.
 * 
 */
public final class InplaceUpgradeOSInfoArgs extends com.pulumi.resources.ResourceArgs {

    public static final InplaceUpgradeOSInfoArgs Empty = new InplaceUpgradeOSInfoArgs();

    /**
     * Specifies the baseline os for in-place upgrade tests.
     * 
     */
    @Import(name="baselineOS")
    private @Nullable Output baselineOS;

    /**
     * @return Specifies the baseline os for in-place upgrade tests.
     * 
     */
    public Optional> baselineOS() {
        return Optional.ofNullable(this.baselineOS);
    }

    /**
     * Specifies the target os for in-place upgrade tests.
     * 
     */
    @Import(name="targetOS")
    private @Nullable Output targetOS;

    /**
     * @return Specifies the target os for in-place upgrade tests.
     * 
     */
    public Optional> targetOS() {
        return Optional.ofNullable(this.targetOS);
    }

    private InplaceUpgradeOSInfoArgs() {}

    private InplaceUpgradeOSInfoArgs(InplaceUpgradeOSInfoArgs $) {
        this.baselineOS = $.baselineOS;
        this.targetOS = $.targetOS;
    }

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

    public static final class Builder {
        private InplaceUpgradeOSInfoArgs $;

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

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

        /**
         * @param baselineOS Specifies the baseline os for in-place upgrade tests.
         * 
         * @return builder
         * 
         */
        public Builder baselineOS(@Nullable Output baselineOS) {
            $.baselineOS = baselineOS;
            return this;
        }

        /**
         * @param baselineOS Specifies the baseline os for in-place upgrade tests.
         * 
         * @return builder
         * 
         */
        public Builder baselineOS(OsPropertiesArgs baselineOS) {
            return baselineOS(Output.of(baselineOS));
        }

        /**
         * @param targetOS Specifies the target os for in-place upgrade tests.
         * 
         * @return builder
         * 
         */
        public Builder targetOS(@Nullable Output targetOS) {
            $.targetOS = targetOS;
            return this;
        }

        /**
         * @param targetOS Specifies the target os for in-place upgrade tests.
         * 
         * @return builder
         * 
         */
        public Builder targetOS(String targetOS) {
            return targetOS(Output.of(targetOS));
        }

        public InplaceUpgradeOSInfoArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy