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

com.pulumi.azurenative.labservices.inputs.LabNetworkProfileArgs 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.labservices.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;


/**
 * Profile for how to handle networking for Labs.
 * 
 */
public final class LabNetworkProfileArgs extends com.pulumi.resources.ResourceArgs {

    public static final LabNetworkProfileArgs Empty = new LabNetworkProfileArgs();

    /**
     * The external load balancer resource id
     * 
     */
    @Import(name="loadBalancerId")
    private @Nullable Output loadBalancerId;

    /**
     * @return The external load balancer resource id
     * 
     */
    public Optional> loadBalancerId() {
        return Optional.ofNullable(this.loadBalancerId);
    }

    /**
     * The external public IP resource id
     * 
     */
    @Import(name="publicIpId")
    private @Nullable Output publicIpId;

    /**
     * @return The external public IP resource id
     * 
     */
    public Optional> publicIpId() {
        return Optional.ofNullable(this.publicIpId);
    }

    /**
     * The external subnet resource id
     * 
     */
    @Import(name="subnetId")
    private @Nullable Output subnetId;

    /**
     * @return The external subnet resource id
     * 
     */
    public Optional> subnetId() {
        return Optional.ofNullable(this.subnetId);
    }

    private LabNetworkProfileArgs() {}

    private LabNetworkProfileArgs(LabNetworkProfileArgs $) {
        this.loadBalancerId = $.loadBalancerId;
        this.publicIpId = $.publicIpId;
        this.subnetId = $.subnetId;
    }

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

    public static final class Builder {
        private LabNetworkProfileArgs $;

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

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

        /**
         * @param loadBalancerId The external load balancer resource id
         * 
         * @return builder
         * 
         */
        public Builder loadBalancerId(@Nullable Output loadBalancerId) {
            $.loadBalancerId = loadBalancerId;
            return this;
        }

        /**
         * @param loadBalancerId The external load balancer resource id
         * 
         * @return builder
         * 
         */
        public Builder loadBalancerId(String loadBalancerId) {
            return loadBalancerId(Output.of(loadBalancerId));
        }

        /**
         * @param publicIpId The external public IP resource id
         * 
         * @return builder
         * 
         */
        public Builder publicIpId(@Nullable Output publicIpId) {
            $.publicIpId = publicIpId;
            return this;
        }

        /**
         * @param publicIpId The external public IP resource id
         * 
         * @return builder
         * 
         */
        public Builder publicIpId(String publicIpId) {
            return publicIpId(Output.of(publicIpId));
        }

        /**
         * @param subnetId The external subnet resource id
         * 
         * @return builder
         * 
         */
        public Builder subnetId(@Nullable Output subnetId) {
            $.subnetId = subnetId;
            return this;
        }

        /**
         * @param subnetId The external subnet resource id
         * 
         * @return builder
         * 
         */
        public Builder subnetId(String subnetId) {
            return subnetId(Output.of(subnetId));
        }

        public LabNetworkProfileArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy