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

com.ovhcloud.pulumi.ovh.Vrack.inputs.IpLoadbalancingState Maven / Gradle / Ivy

There is a newer version: 1.1.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.ovhcloud.pulumi.ovh.Vrack.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;


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

    public static final IpLoadbalancingState Empty = new IpLoadbalancingState();

    /**
     * The id of the IP Load Balancing.
     * 
     */
    @Import(name="LoadbalancingId")
    private @Nullable Output LoadbalancingId;

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

    /**
     * The id of the vrack.
     * 
     */
    @Import(name="serviceName")
    private @Nullable Output serviceName;

    /**
     * @return The id of the vrack.
     * 
     */
    public Optional> serviceName() {
        return Optional.ofNullable(this.serviceName);
    }

    private IpLoadbalancingState() {}

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

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

    public static final class Builder {
        private IpLoadbalancingState $;

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

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

        /**
         * @param LoadbalancingId The id of the IP Load Balancing.
         * 
         * @return builder
         * 
         */
        public Builder LoadbalancingId(@Nullable Output 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(@Nullable Output 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 IpLoadbalancingState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy