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

com.pulumi.azurenative.contoso.inputs.EmployeePropertiesArgs Maven / Gradle / Ivy

// *** 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.contoso.inputs;

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


/**
 * Employee properties
 * 
 */
public final class EmployeePropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final EmployeePropertiesArgs Empty = new EmployeePropertiesArgs();

    /**
     * Age of employee
     * 
     */
    @Import(name="age")
    private @Nullable Output age;

    /**
     * @return Age of employee
     * 
     */
    public Optional> age() {
        return Optional.ofNullable(this.age);
    }

    /**
     * City of employee
     * 
     */
    @Import(name="city")
    private @Nullable Output city;

    /**
     * @return City of employee
     * 
     */
    public Optional> city() {
        return Optional.ofNullable(this.city);
    }

    /**
     * Profile of employee
     * 
     */
    @Import(name="profile")
    private @Nullable Output profile;

    /**
     * @return Profile of employee
     * 
     */
    public Optional> profile() {
        return Optional.ofNullable(this.profile);
    }

    private EmployeePropertiesArgs() {}

    private EmployeePropertiesArgs(EmployeePropertiesArgs $) {
        this.age = $.age;
        this.city = $.city;
        this.profile = $.profile;
    }

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

    public static final class Builder {
        private EmployeePropertiesArgs $;

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

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

        /**
         * @param age Age of employee
         * 
         * @return builder
         * 
         */
        public Builder age(@Nullable Output age) {
            $.age = age;
            return this;
        }

        /**
         * @param age Age of employee
         * 
         * @return builder
         * 
         */
        public Builder age(Integer age) {
            return age(Output.of(age));
        }

        /**
         * @param city City of employee
         * 
         * @return builder
         * 
         */
        public Builder city(@Nullable Output city) {
            $.city = city;
            return this;
        }

        /**
         * @param city City of employee
         * 
         * @return builder
         * 
         */
        public Builder city(String city) {
            return city(Output.of(city));
        }

        /**
         * @param profile Profile of employee
         * 
         * @return builder
         * 
         */
        public Builder profile(@Nullable Output profile) {
            $.profile = profile;
            return this;
        }

        /**
         * @param profile Profile of employee
         * 
         * @return builder
         * 
         */
        public Builder profile(String profile) {
            return profile(Output.of(profile));
        }

        public EmployeePropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy