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

com.pulumi.azurenative.databricks.inputs.AddressSpaceArgs Maven / Gradle / Ivy

There is a newer version: 2.78.0
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.azurenative.databricks.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;


/**
 * AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network.
 * 
 */
public final class AddressSpaceArgs extends com.pulumi.resources.ResourceArgs {

    public static final AddressSpaceArgs Empty = new AddressSpaceArgs();

    /**
     * A list of address blocks reserved for this virtual network in CIDR notation.
     * 
     */
    @Import(name="addressPrefixes")
    private @Nullable Output> addressPrefixes;

    /**
     * @return A list of address blocks reserved for this virtual network in CIDR notation.
     * 
     */
    public Optional>> addressPrefixes() {
        return Optional.ofNullable(this.addressPrefixes);
    }

    private AddressSpaceArgs() {}

    private AddressSpaceArgs(AddressSpaceArgs $) {
        this.addressPrefixes = $.addressPrefixes;
    }

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

    public static final class Builder {
        private AddressSpaceArgs $;

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

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

        /**
         * @param addressPrefixes A list of address blocks reserved for this virtual network in CIDR notation.
         * 
         * @return builder
         * 
         */
        public Builder addressPrefixes(@Nullable Output> addressPrefixes) {
            $.addressPrefixes = addressPrefixes;
            return this;
        }

        /**
         * @param addressPrefixes A list of address blocks reserved for this virtual network in CIDR notation.
         * 
         * @return builder
         * 
         */
        public Builder addressPrefixes(List addressPrefixes) {
            return addressPrefixes(Output.of(addressPrefixes));
        }

        /**
         * @param addressPrefixes A list of address blocks reserved for this virtual network in CIDR notation.
         * 
         * @return builder
         * 
         */
        public Builder addressPrefixes(String... addressPrefixes) {
            return addressPrefixes(List.of(addressPrefixes));
        }

        public AddressSpaceArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy