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

com.pulumi.azurenative.workloads.inputs.LoadBalancerResourceNamesArgs Maven / Gradle / Ivy

The 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.workloads.inputs;

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


/**
 * The resource names object for load balancer and related resources.
 * 
 */
public final class LoadBalancerResourceNamesArgs extends com.pulumi.resources.ResourceArgs {

    public static final LoadBalancerResourceNamesArgs Empty = new LoadBalancerResourceNamesArgs();

    /**
     * The list of backend pool names. Currently, ACSS deploys only one backend pool and hence, size of this list should be 1
     * 
     */
    @Import(name="backendPoolNames")
    private @Nullable Output> backendPoolNames;

    /**
     * @return The list of backend pool names. Currently, ACSS deploys only one backend pool and hence, size of this list should be 1
     * 
     */
    public Optional>> backendPoolNames() {
        return Optional.ofNullable(this.backendPoolNames);
    }

    /**
     * The list of frontend IP configuration names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.
     * 
     */
    @Import(name="frontendIpConfigurationNames")
    private @Nullable Output> frontendIpConfigurationNames;

    /**
     * @return The list of frontend IP configuration names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.
     * 
     */
    public Optional>> frontendIpConfigurationNames() {
        return Optional.ofNullable(this.frontendIpConfigurationNames);
    }

    /**
     * The list of health probe names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.
     * 
     */
    @Import(name="healthProbeNames")
    private @Nullable Output> healthProbeNames;

    /**
     * @return The list of health probe names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.
     * 
     */
    public Optional>> healthProbeNames() {
        return Optional.ofNullable(this.healthProbeNames);
    }

    /**
     * The full resource name for load balancer. If this value is not provided, load balancer will be name as {ASCS/DB}-loadBalancer.
     * 
     */
    @Import(name="loadBalancerName")
    private @Nullable Output loadBalancerName;

    /**
     * @return The full resource name for load balancer. If this value is not provided, load balancer will be name as {ASCS/DB}-loadBalancer.
     * 
     */
    public Optional> loadBalancerName() {
        return Optional.ofNullable(this.loadBalancerName);
    }

    private LoadBalancerResourceNamesArgs() {}

    private LoadBalancerResourceNamesArgs(LoadBalancerResourceNamesArgs $) {
        this.backendPoolNames = $.backendPoolNames;
        this.frontendIpConfigurationNames = $.frontendIpConfigurationNames;
        this.healthProbeNames = $.healthProbeNames;
        this.loadBalancerName = $.loadBalancerName;
    }

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

    public static final class Builder {
        private LoadBalancerResourceNamesArgs $;

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

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

        /**
         * @param backendPoolNames The list of backend pool names. Currently, ACSS deploys only one backend pool and hence, size of this list should be 1
         * 
         * @return builder
         * 
         */
        public Builder backendPoolNames(@Nullable Output> backendPoolNames) {
            $.backendPoolNames = backendPoolNames;
            return this;
        }

        /**
         * @param backendPoolNames The list of backend pool names. Currently, ACSS deploys only one backend pool and hence, size of this list should be 1
         * 
         * @return builder
         * 
         */
        public Builder backendPoolNames(List backendPoolNames) {
            return backendPoolNames(Output.of(backendPoolNames));
        }

        /**
         * @param backendPoolNames The list of backend pool names. Currently, ACSS deploys only one backend pool and hence, size of this list should be 1
         * 
         * @return builder
         * 
         */
        public Builder backendPoolNames(String... backendPoolNames) {
            return backendPoolNames(List.of(backendPoolNames));
        }

        /**
         * @param frontendIpConfigurationNames The list of frontend IP configuration names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.
         * 
         * @return builder
         * 
         */
        public Builder frontendIpConfigurationNames(@Nullable Output> frontendIpConfigurationNames) {
            $.frontendIpConfigurationNames = frontendIpConfigurationNames;
            return this;
        }

        /**
         * @param frontendIpConfigurationNames The list of frontend IP configuration names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.
         * 
         * @return builder
         * 
         */
        public Builder frontendIpConfigurationNames(List frontendIpConfigurationNames) {
            return frontendIpConfigurationNames(Output.of(frontendIpConfigurationNames));
        }

        /**
         * @param frontendIpConfigurationNames The list of frontend IP configuration names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.
         * 
         * @return builder
         * 
         */
        public Builder frontendIpConfigurationNames(String... frontendIpConfigurationNames) {
            return frontendIpConfigurationNames(List.of(frontendIpConfigurationNames));
        }

        /**
         * @param healthProbeNames The list of health probe names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.
         * 
         * @return builder
         * 
         */
        public Builder healthProbeNames(@Nullable Output> healthProbeNames) {
            $.healthProbeNames = healthProbeNames;
            return this;
        }

        /**
         * @param healthProbeNames The list of health probe names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.
         * 
         * @return builder
         * 
         */
        public Builder healthProbeNames(List healthProbeNames) {
            return healthProbeNames(Output.of(healthProbeNames));
        }

        /**
         * @param healthProbeNames The list of health probe names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.
         * 
         * @return builder
         * 
         */
        public Builder healthProbeNames(String... healthProbeNames) {
            return healthProbeNames(List.of(healthProbeNames));
        }

        /**
         * @param loadBalancerName The full resource name for load balancer. If this value is not provided, load balancer will be name as {ASCS/DB}-loadBalancer.
         * 
         * @return builder
         * 
         */
        public Builder loadBalancerName(@Nullable Output loadBalancerName) {
            $.loadBalancerName = loadBalancerName;
            return this;
        }

        /**
         * @param loadBalancerName The full resource name for load balancer. If this value is not provided, load balancer will be name as {ASCS/DB}-loadBalancer.
         * 
         * @return builder
         * 
         */
        public Builder loadBalancerName(String loadBalancerName) {
            return loadBalancerName(Output.of(loadBalancerName));
        }

        public LoadBalancerResourceNamesArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy