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

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


/**
 * The properties of an operating system.
 * 
 */
public final class OsPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final OsPropertiesArgs Empty = new OsPropertiesArgs();

    /**
     * Specify the referenced Test Base Custom Image Id if available.
     * 
     */
    @Import(name="customImageId")
    private @Nullable Output customImageId;

    /**
     * @return Specify the referenced Test Base Custom Image Id if available.
     * 
     */
    public Optional> customImageId() {
        return Optional.ofNullable(this.customImageId);
    }

    /**
     * The name of the OS.
     * 
     */
    @Import(name="osName")
    private @Nullable Output osName;

    /**
     * @return The name of the OS.
     * 
     */
    public Optional> osName() {
        return Optional.ofNullable(this.osName);
    }

    /**
     * The properties of the OS release.
     * 
     */
    @Import(name="releaseProperties")
    private @Nullable Output releaseProperties;

    /**
     * @return The properties of the OS release.
     * 
     */
    public Optional> releaseProperties() {
        return Optional.ofNullable(this.releaseProperties);
    }

    private OsPropertiesArgs() {}

    private OsPropertiesArgs(OsPropertiesArgs $) {
        this.customImageId = $.customImageId;
        this.osName = $.osName;
        this.releaseProperties = $.releaseProperties;
    }

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

    public static final class Builder {
        private OsPropertiesArgs $;

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

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

        /**
         * @param customImageId Specify the referenced Test Base Custom Image Id if available.
         * 
         * @return builder
         * 
         */
        public Builder customImageId(@Nullable Output customImageId) {
            $.customImageId = customImageId;
            return this;
        }

        /**
         * @param customImageId Specify the referenced Test Base Custom Image Id if available.
         * 
         * @return builder
         * 
         */
        public Builder customImageId(String customImageId) {
            return customImageId(Output.of(customImageId));
        }

        /**
         * @param osName The name of the OS.
         * 
         * @return builder
         * 
         */
        public Builder osName(@Nullable Output osName) {
            $.osName = osName;
            return this;
        }

        /**
         * @param osName The name of the OS.
         * 
         * @return builder
         * 
         */
        public Builder osName(String osName) {
            return osName(Output.of(osName));
        }

        /**
         * @param releaseProperties The properties of the OS release.
         * 
         * @return builder
         * 
         */
        public Builder releaseProperties(@Nullable Output releaseProperties) {
            $.releaseProperties = releaseProperties;
            return this;
        }

        /**
         * @param releaseProperties The properties of the OS release.
         * 
         * @return builder
         * 
         */
        public Builder releaseProperties(ReleasePropertiesArgs releaseProperties) {
            return releaseProperties(Output.of(releaseProperties));
        }

        public OsPropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy