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

com.pulumi.azurenative.scvmm.outputs.OsProfileResponse 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.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class OsProfileResponse {
    /**
     * @return Gets or sets computer name.
     * 
     */
    private @Nullable String computerName;
    /**
     * @return Gets or sets os name.
     * 
     */
    private String osName;
    /**
     * @return Gets or sets the type of the os.
     * 
     */
    private String osType;

    private OsProfileResponse() {}
    /**
     * @return Gets or sets computer name.
     * 
     */
    public Optional computerName() {
        return Optional.ofNullable(this.computerName);
    }
    /**
     * @return Gets or sets os name.
     * 
     */
    public String osName() {
        return this.osName;
    }
    /**
     * @return Gets or sets the type of the os.
     * 
     */
    public String osType() {
        return this.osType;
    }

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

    public static Builder builder(OsProfileResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String computerName;
        private String osName;
        private String osType;
        public Builder() {}
        public Builder(OsProfileResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.computerName = defaults.computerName;
    	      this.osName = defaults.osName;
    	      this.osType = defaults.osType;
        }

        @CustomType.Setter
        public Builder computerName(@Nullable String computerName) {

            this.computerName = computerName;
            return this;
        }
        @CustomType.Setter
        public Builder osName(String osName) {
            if (osName == null) {
              throw new MissingRequiredPropertyException("OsProfileResponse", "osName");
            }
            this.osName = osName;
            return this;
        }
        @CustomType.Setter
        public Builder osType(String osType) {
            if (osType == null) {
              throw new MissingRequiredPropertyException("OsProfileResponse", "osType");
            }
            this.osType = osType;
            return this;
        }
        public OsProfileResponse build() {
            final var _resultValue = new OsProfileResponse();
            _resultValue.computerName = computerName;
            _resultValue.osName = osName;
            _resultValue.osType = osType;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy