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

com.pulumi.azure.lb.outputs.GetBackendAddressPoolResult Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.lb.outputs;

import com.pulumi.azure.lb.outputs.GetBackendAddressPoolBackendAddress;
import com.pulumi.azure.lb.outputs.GetBackendAddressPoolBackendIpConfiguration;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetBackendAddressPoolResult {
    /**
     * @return A list of `backend_address` block as defined below.
     * 
     */
    private List backendAddresses;
    /**
     * @return A list of references to IP addresses defined in network interfaces.
     * 
     */
    private List backendIpConfigurations;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    /**
     * @return A list of the Load Balancing Inbound NAT Rules associated with this Backend Address Pool.
     * 
     */
    private List inboundNatRules;
    /**
     * @return A list of the Load Balancing Rules associated with this Backend Address Pool.
     * 
     */
    private List loadBalancingRules;
    private String loadbalancerId;
    /**
     * @return The name of the Backend Address.
     * 
     */
    private String name;
    /**
     * @return A list of the Load Balancing Outbound Rules associated with this Backend Address Pool.
     * 
     */
    private List outboundRules;

    private GetBackendAddressPoolResult() {}
    /**
     * @return A list of `backend_address` block as defined below.
     * 
     */
    public List backendAddresses() {
        return this.backendAddresses;
    }
    /**
     * @return A list of references to IP addresses defined in network interfaces.
     * 
     */
    public List backendIpConfigurations() {
        return this.backendIpConfigurations;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return A list of the Load Balancing Inbound NAT Rules associated with this Backend Address Pool.
     * 
     */
    public List inboundNatRules() {
        return this.inboundNatRules;
    }
    /**
     * @return A list of the Load Balancing Rules associated with this Backend Address Pool.
     * 
     */
    public List loadBalancingRules() {
        return this.loadBalancingRules;
    }
    public String loadbalancerId() {
        return this.loadbalancerId;
    }
    /**
     * @return The name of the Backend Address.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return A list of the Load Balancing Outbound Rules associated with this Backend Address Pool.
     * 
     */
    public List outboundRules() {
        return this.outboundRules;
    }

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

    public static Builder builder(GetBackendAddressPoolResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List backendAddresses;
        private List backendIpConfigurations;
        private String id;
        private List inboundNatRules;
        private List loadBalancingRules;
        private String loadbalancerId;
        private String name;
        private List outboundRules;
        public Builder() {}
        public Builder(GetBackendAddressPoolResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.backendAddresses = defaults.backendAddresses;
    	      this.backendIpConfigurations = defaults.backendIpConfigurations;
    	      this.id = defaults.id;
    	      this.inboundNatRules = defaults.inboundNatRules;
    	      this.loadBalancingRules = defaults.loadBalancingRules;
    	      this.loadbalancerId = defaults.loadbalancerId;
    	      this.name = defaults.name;
    	      this.outboundRules = defaults.outboundRules;
        }

        @CustomType.Setter
        public Builder backendAddresses(List backendAddresses) {
            if (backendAddresses == null) {
              throw new MissingRequiredPropertyException("GetBackendAddressPoolResult", "backendAddresses");
            }
            this.backendAddresses = backendAddresses;
            return this;
        }
        public Builder backendAddresses(GetBackendAddressPoolBackendAddress... backendAddresses) {
            return backendAddresses(List.of(backendAddresses));
        }
        @CustomType.Setter
        public Builder backendIpConfigurations(List backendIpConfigurations) {
            if (backendIpConfigurations == null) {
              throw new MissingRequiredPropertyException("GetBackendAddressPoolResult", "backendIpConfigurations");
            }
            this.backendIpConfigurations = backendIpConfigurations;
            return this;
        }
        public Builder backendIpConfigurations(GetBackendAddressPoolBackendIpConfiguration... backendIpConfigurations) {
            return backendIpConfigurations(List.of(backendIpConfigurations));
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetBackendAddressPoolResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder inboundNatRules(List inboundNatRules) {
            if (inboundNatRules == null) {
              throw new MissingRequiredPropertyException("GetBackendAddressPoolResult", "inboundNatRules");
            }
            this.inboundNatRules = inboundNatRules;
            return this;
        }
        public Builder inboundNatRules(String... inboundNatRules) {
            return inboundNatRules(List.of(inboundNatRules));
        }
        @CustomType.Setter
        public Builder loadBalancingRules(List loadBalancingRules) {
            if (loadBalancingRules == null) {
              throw new MissingRequiredPropertyException("GetBackendAddressPoolResult", "loadBalancingRules");
            }
            this.loadBalancingRules = loadBalancingRules;
            return this;
        }
        public Builder loadBalancingRules(String... loadBalancingRules) {
            return loadBalancingRules(List.of(loadBalancingRules));
        }
        @CustomType.Setter
        public Builder loadbalancerId(String loadbalancerId) {
            if (loadbalancerId == null) {
              throw new MissingRequiredPropertyException("GetBackendAddressPoolResult", "loadbalancerId");
            }
            this.loadbalancerId = loadbalancerId;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetBackendAddressPoolResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder outboundRules(List outboundRules) {
            if (outboundRules == null) {
              throw new MissingRequiredPropertyException("GetBackendAddressPoolResult", "outboundRules");
            }
            this.outboundRules = outboundRules;
            return this;
        }
        public Builder outboundRules(String... outboundRules) {
            return outboundRules(List.of(outboundRules));
        }
        public GetBackendAddressPoolResult build() {
            final var _resultValue = new GetBackendAddressPoolResult();
            _resultValue.backendAddresses = backendAddresses;
            _resultValue.backendIpConfigurations = backendIpConfigurations;
            _resultValue.id = id;
            _resultValue.inboundNatRules = inboundNatRules;
            _resultValue.loadBalancingRules = loadBalancingRules;
            _resultValue.loadbalancerId = loadbalancerId;
            _resultValue.name = name;
            _resultValue.outboundRules = outboundRules;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy