sdk/java/src/main/java/com/pulumi/ovh/Vrack/IpLoadbalancingArgs.java
<reponame>lbrlabs/pulumi-ovh// *** 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.ovh.Vrack;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;


public final class IpLoadbalancingArgs extends com.pulumi.resources.ResourceArgs {

    public static final IpLoadbalancingArgs Empty = new IpLoadbalancingArgs();

    /**
     * The id of the IP Load Balancing.
     * 
     */
    @Import(name="LoadbalancingId", required=true)
    private Output<String> LoadbalancingId;

    /**
     * @return The id of the IP Load Balancing.
     * 
     */
    public Output<String> LoadbalancingId() {
        return this.LoadbalancingId;
    }

    /**
     * The id of the vrack.
     * 
     */
    @Import(name="serviceName", required=true)
    private Output<String> serviceName;

    /**
     * @return The id of the vrack.
     * 
     */
    public Output<String> serviceName() {
        return this.serviceName;
    }

    private IpLoadbalancingArgs() {}

    private IpLoadbalancingArgs(IpLoadbalancingArgs $) {
        this.LoadbalancingId = $.LoadbalancingId;
        this.serviceName = $.serviceName;
    }

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

    public static final class Builder {
        private IpLoadbalancingArgs $;

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

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

        /**
         * @param LoadbalancingId The id of the IP Load Balancing.
         * 
         * @return builder
         * 
         */
        public Builder LoadbalancingId(Output<String> LoadbalancingId) {
            $.LoadbalancingId = LoadbalancingId;
            return this;
        }

        /**
         * @param LoadbalancingId The id of the IP Load Balancing.
         * 
         * @return builder
         * 
         */
        public Builder LoadbalancingId(String LoadbalancingId) {
            return LoadbalancingId(Output.of(LoadbalancingId));
        }

        /**
         * @param serviceName The id of the vrack.
         * 
         * @return builder
         * 
         */
        public Builder serviceName(Output<String> serviceName) {
            $.serviceName = serviceName;
            return this;
        }

        /**
         * @param serviceName The id of the vrack.
         * 
         * @return builder
         * 
         */
        public Builder serviceName(String serviceName) {
            return serviceName(Output.of(serviceName));
        }

        public IpLoadbalancingArgs build() {
            $.LoadbalancingId = Objects.requireNonNull($.LoadbalancingId, "expected parameter 'LoadbalancingId' to be non-null");
            $.serviceName = Objects.requireNonNull($.serviceName, "expected parameter 'serviceName' to be non-null");
            return $;
        }
    }

}
