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

com.pulumi.azurenative.migrate.inputs.LBFrontendIPConfigurationResourceSettingsArgs 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.migrate.inputs;

import com.pulumi.azurenative.migrate.inputs.SubnetReferenceArgs;
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;


/**
 * Defines load balancer frontend IP configuration properties.
 * 
 */
public final class LBFrontendIPConfigurationResourceSettingsArgs extends com.pulumi.resources.ResourceArgs {

    public static final LBFrontendIPConfigurationResourceSettingsArgs Empty = new LBFrontendIPConfigurationResourceSettingsArgs();

    /**
     * Gets or sets the frontend IP configuration name.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Gets or sets the frontend IP configuration name.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Gets or sets the IP address of the Load Balancer.This is only specified if a specific
     * private IP address shall be allocated from the subnet specified in subnetRef.
     * 
     */
    @Import(name="privateIpAddress")
    private @Nullable Output privateIpAddress;

    /**
     * @return Gets or sets the IP address of the Load Balancer.This is only specified if a specific
     * private IP address shall be allocated from the subnet specified in subnetRef.
     * 
     */
    public Optional> privateIpAddress() {
        return Optional.ofNullable(this.privateIpAddress);
    }

    /**
     * Gets or sets PrivateIP allocation method (Static/Dynamic).
     * 
     */
    @Import(name="privateIpAllocationMethod")
    private @Nullable Output privateIpAllocationMethod;

    /**
     * @return Gets or sets PrivateIP allocation method (Static/Dynamic).
     * 
     */
    public Optional> privateIpAllocationMethod() {
        return Optional.ofNullable(this.privateIpAllocationMethod);
    }

    /**
     * Defines reference to subnet.
     * 
     */
    @Import(name="subnet")
    private @Nullable Output subnet;

    /**
     * @return Defines reference to subnet.
     * 
     */
    public Optional> subnet() {
        return Optional.ofNullable(this.subnet);
    }

    /**
     * Gets or sets the csv list of zones.
     * 
     */
    @Import(name="zones")
    private @Nullable Output zones;

    /**
     * @return Gets or sets the csv list of zones.
     * 
     */
    public Optional> zones() {
        return Optional.ofNullable(this.zones);
    }

    private LBFrontendIPConfigurationResourceSettingsArgs() {}

    private LBFrontendIPConfigurationResourceSettingsArgs(LBFrontendIPConfigurationResourceSettingsArgs $) {
        this.name = $.name;
        this.privateIpAddress = $.privateIpAddress;
        this.privateIpAllocationMethod = $.privateIpAllocationMethod;
        this.subnet = $.subnet;
        this.zones = $.zones;
    }

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

    public static final class Builder {
        private LBFrontendIPConfigurationResourceSettingsArgs $;

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

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

        /**
         * @param name Gets or sets the frontend IP configuration name.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Gets or sets the frontend IP configuration name.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param privateIpAddress Gets or sets the IP address of the Load Balancer.This is only specified if a specific
         * private IP address shall be allocated from the subnet specified in subnetRef.
         * 
         * @return builder
         * 
         */
        public Builder privateIpAddress(@Nullable Output privateIpAddress) {
            $.privateIpAddress = privateIpAddress;
            return this;
        }

        /**
         * @param privateIpAddress Gets or sets the IP address of the Load Balancer.This is only specified if a specific
         * private IP address shall be allocated from the subnet specified in subnetRef.
         * 
         * @return builder
         * 
         */
        public Builder privateIpAddress(String privateIpAddress) {
            return privateIpAddress(Output.of(privateIpAddress));
        }

        /**
         * @param privateIpAllocationMethod Gets or sets PrivateIP allocation method (Static/Dynamic).
         * 
         * @return builder
         * 
         */
        public Builder privateIpAllocationMethod(@Nullable Output privateIpAllocationMethod) {
            $.privateIpAllocationMethod = privateIpAllocationMethod;
            return this;
        }

        /**
         * @param privateIpAllocationMethod Gets or sets PrivateIP allocation method (Static/Dynamic).
         * 
         * @return builder
         * 
         */
        public Builder privateIpAllocationMethod(String privateIpAllocationMethod) {
            return privateIpAllocationMethod(Output.of(privateIpAllocationMethod));
        }

        /**
         * @param subnet Defines reference to subnet.
         * 
         * @return builder
         * 
         */
        public Builder subnet(@Nullable Output subnet) {
            $.subnet = subnet;
            return this;
        }

        /**
         * @param subnet Defines reference to subnet.
         * 
         * @return builder
         * 
         */
        public Builder subnet(SubnetReferenceArgs subnet) {
            return subnet(Output.of(subnet));
        }

        /**
         * @param zones Gets or sets the csv list of zones.
         * 
         * @return builder
         * 
         */
        public Builder zones(@Nullable Output zones) {
            $.zones = zones;
            return this;
        }

        /**
         * @param zones Gets or sets the csv list of zones.
         * 
         * @return builder
         * 
         */
        public Builder zones(String zones) {
            return zones(Output.of(zones));
        }

        public LBFrontendIPConfigurationResourceSettingsArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy