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

com.pulumi.azurenative.network.inputs.ApplicationGatewayBackendAddressPoolArgs 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.network.inputs;

import com.pulumi.azurenative.network.inputs.ApplicationGatewayBackendAddressArgs;
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;


/**
 * Backend Address Pool of an application gateway.
 * 
 */
public final class ApplicationGatewayBackendAddressPoolArgs extends com.pulumi.resources.ResourceArgs {

    public static final ApplicationGatewayBackendAddressPoolArgs Empty = new ApplicationGatewayBackendAddressPoolArgs();

    /**
     * Backend addresses.
     * 
     */
    @Import(name="backendAddresses")
    private @Nullable Output> backendAddresses;

    /**
     * @return Backend addresses.
     * 
     */
    public Optional>> backendAddresses() {
        return Optional.ofNullable(this.backendAddresses);
    }

    /**
     * Resource ID.
     * 
     */
    @Import(name="id")
    private @Nullable Output id;

    /**
     * @return Resource ID.
     * 
     */
    public Optional> id() {
        return Optional.ofNullable(this.id);
    }

    /**
     * Name of the backend address pool that is unique within an Application Gateway.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Name of the backend address pool that is unique within an Application Gateway.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    private ApplicationGatewayBackendAddressPoolArgs() {}

    private ApplicationGatewayBackendAddressPoolArgs(ApplicationGatewayBackendAddressPoolArgs $) {
        this.backendAddresses = $.backendAddresses;
        this.id = $.id;
        this.name = $.name;
    }

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

    public static final class Builder {
        private ApplicationGatewayBackendAddressPoolArgs $;

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

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

        /**
         * @param backendAddresses Backend addresses.
         * 
         * @return builder
         * 
         */
        public Builder backendAddresses(@Nullable Output> backendAddresses) {
            $.backendAddresses = backendAddresses;
            return this;
        }

        /**
         * @param backendAddresses Backend addresses.
         * 
         * @return builder
         * 
         */
        public Builder backendAddresses(List backendAddresses) {
            return backendAddresses(Output.of(backendAddresses));
        }

        /**
         * @param backendAddresses Backend addresses.
         * 
         * @return builder
         * 
         */
        public Builder backendAddresses(ApplicationGatewayBackendAddressArgs... backendAddresses) {
            return backendAddresses(List.of(backendAddresses));
        }

        /**
         * @param id Resource ID.
         * 
         * @return builder
         * 
         */
        public Builder id(@Nullable Output id) {
            $.id = id;
            return this;
        }

        /**
         * @param id Resource ID.
         * 
         * @return builder
         * 
         */
        public Builder id(String id) {
            return id(Output.of(id));
        }

        /**
         * @param name Name of the backend address pool that is unique within an Application Gateway.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Name of the backend address pool that is unique within an Application Gateway.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        public ApplicationGatewayBackendAddressPoolArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy