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

com.pulumi.azure.lb.outputs.GetLBResult 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.GetLBFrontendIpConfiguration;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;

@CustomType
public final class GetLBResult {
    /**
     * @return A `frontend_ip_configuration` block as documented below.
     * 
     */
    private List frontendIpConfigurations;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    /**
     * @return The Azure location where the Load Balancer exists.
     * 
     */
    private String location;
    /**
     * @return The name of the Frontend IP Configuration.
     * 
     */
    private String name;
    /**
     * @return Private IP Address to assign to the Load Balancer.
     * 
     */
    private String privateIpAddress;
    /**
     * @return The list of private IP address assigned to the load balancer in `frontend_ip_configuration` blocks, if any.
     * 
     */
    private List privateIpAddresses;
    private String resourceGroupName;
    /**
     * @return The SKU of the Load Balancer.
     * 
     */
    private String sku;
    /**
     * @return A mapping of tags assigned to the resource.
     * 
     */
    private Map tags;

    private GetLBResult() {}
    /**
     * @return A `frontend_ip_configuration` block as documented below.
     * 
     */
    public List frontendIpConfigurations() {
        return this.frontendIpConfigurations;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The Azure location where the Load Balancer exists.
     * 
     */
    public String location() {
        return this.location;
    }
    /**
     * @return The name of the Frontend IP Configuration.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Private IP Address to assign to the Load Balancer.
     * 
     */
    public String privateIpAddress() {
        return this.privateIpAddress;
    }
    /**
     * @return The list of private IP address assigned to the load balancer in `frontend_ip_configuration` blocks, if any.
     * 
     */
    public List privateIpAddresses() {
        return this.privateIpAddresses;
    }
    public String resourceGroupName() {
        return this.resourceGroupName;
    }
    /**
     * @return The SKU of the Load Balancer.
     * 
     */
    public String sku() {
        return this.sku;
    }
    /**
     * @return A mapping of tags assigned to the resource.
     * 
     */
    public Map tags() {
        return this.tags;
    }

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

    public static Builder builder(GetLBResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List frontendIpConfigurations;
        private String id;
        private String location;
        private String name;
        private String privateIpAddress;
        private List privateIpAddresses;
        private String resourceGroupName;
        private String sku;
        private Map tags;
        public Builder() {}
        public Builder(GetLBResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.frontendIpConfigurations = defaults.frontendIpConfigurations;
    	      this.id = defaults.id;
    	      this.location = defaults.location;
    	      this.name = defaults.name;
    	      this.privateIpAddress = defaults.privateIpAddress;
    	      this.privateIpAddresses = defaults.privateIpAddresses;
    	      this.resourceGroupName = defaults.resourceGroupName;
    	      this.sku = defaults.sku;
    	      this.tags = defaults.tags;
        }

        @CustomType.Setter
        public Builder frontendIpConfigurations(List frontendIpConfigurations) {
            if (frontendIpConfigurations == null) {
              throw new MissingRequiredPropertyException("GetLBResult", "frontendIpConfigurations");
            }
            this.frontendIpConfigurations = frontendIpConfigurations;
            return this;
        }
        public Builder frontendIpConfigurations(GetLBFrontendIpConfiguration... frontendIpConfigurations) {
            return frontendIpConfigurations(List.of(frontendIpConfigurations));
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetLBResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder location(String location) {
            if (location == null) {
              throw new MissingRequiredPropertyException("GetLBResult", "location");
            }
            this.location = location;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetLBResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder privateIpAddress(String privateIpAddress) {
            if (privateIpAddress == null) {
              throw new MissingRequiredPropertyException("GetLBResult", "privateIpAddress");
            }
            this.privateIpAddress = privateIpAddress;
            return this;
        }
        @CustomType.Setter
        public Builder privateIpAddresses(List privateIpAddresses) {
            if (privateIpAddresses == null) {
              throw new MissingRequiredPropertyException("GetLBResult", "privateIpAddresses");
            }
            this.privateIpAddresses = privateIpAddresses;
            return this;
        }
        public Builder privateIpAddresses(String... privateIpAddresses) {
            return privateIpAddresses(List.of(privateIpAddresses));
        }
        @CustomType.Setter
        public Builder resourceGroupName(String resourceGroupName) {
            if (resourceGroupName == null) {
              throw new MissingRequiredPropertyException("GetLBResult", "resourceGroupName");
            }
            this.resourceGroupName = resourceGroupName;
            return this;
        }
        @CustomType.Setter
        public Builder sku(String sku) {
            if (sku == null) {
              throw new MissingRequiredPropertyException("GetLBResult", "sku");
            }
            this.sku = sku;
            return this;
        }
        @CustomType.Setter
        public Builder tags(Map tags) {
            if (tags == null) {
              throw new MissingRequiredPropertyException("GetLBResult", "tags");
            }
            this.tags = tags;
            return this;
        }
        public GetLBResult build() {
            final var _resultValue = new GetLBResult();
            _resultValue.frontendIpConfigurations = frontendIpConfigurations;
            _resultValue.id = id;
            _resultValue.location = location;
            _resultValue.name = name;
            _resultValue.privateIpAddress = privateIpAddress;
            _resultValue.privateIpAddresses = privateIpAddresses;
            _resultValue.resourceGroupName = resourceGroupName;
            _resultValue.sku = sku;
            _resultValue.tags = tags;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy