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

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

import com.pulumi.azurenative.network.inputs.Office365PolicyPropertiesArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class VirtualApplianceSiteArgs extends com.pulumi.resources.ResourceArgs {

    public static final VirtualApplianceSiteArgs Empty = new VirtualApplianceSiteArgs();

    /**
     * Address Prefix.
     * 
     */
    @Import(name="addressPrefix")
    private @Nullable Output addressPrefix;

    /**
     * @return Address Prefix.
     * 
     */
    public Optional> addressPrefix() {
        return Optional.ofNullable(this.addressPrefix);
    }

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

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

    /**
     * Name of the virtual appliance site.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Name of the virtual appliance site.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The name of the Network Virtual Appliance.
     * 
     */
    @Import(name="networkVirtualApplianceName", required=true)
    private Output networkVirtualApplianceName;

    /**
     * @return The name of the Network Virtual Appliance.
     * 
     */
    public Output networkVirtualApplianceName() {
        return this.networkVirtualApplianceName;
    }

    /**
     * Office 365 Policy.
     * 
     */
    @Import(name="o365Policy")
    private @Nullable Output o365Policy;

    /**
     * @return Office 365 Policy.
     * 
     */
    public Optional> o365Policy() {
        return Optional.ofNullable(this.o365Policy);
    }

    /**
     * The name of the resource group.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * The name of the site.
     * 
     */
    @Import(name="siteName")
    private @Nullable Output siteName;

    /**
     * @return The name of the site.
     * 
     */
    public Optional> siteName() {
        return Optional.ofNullable(this.siteName);
    }

    private VirtualApplianceSiteArgs() {}

    private VirtualApplianceSiteArgs(VirtualApplianceSiteArgs $) {
        this.addressPrefix = $.addressPrefix;
        this.id = $.id;
        this.name = $.name;
        this.networkVirtualApplianceName = $.networkVirtualApplianceName;
        this.o365Policy = $.o365Policy;
        this.resourceGroupName = $.resourceGroupName;
        this.siteName = $.siteName;
    }

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

    public static final class Builder {
        private VirtualApplianceSiteArgs $;

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

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

        /**
         * @param addressPrefix Address Prefix.
         * 
         * @return builder
         * 
         */
        public Builder addressPrefix(@Nullable Output addressPrefix) {
            $.addressPrefix = addressPrefix;
            return this;
        }

        /**
         * @param addressPrefix Address Prefix.
         * 
         * @return builder
         * 
         */
        public Builder addressPrefix(String addressPrefix) {
            return addressPrefix(Output.of(addressPrefix));
        }

        /**
         * @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 virtual appliance site.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Name of the virtual appliance site.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param networkVirtualApplianceName The name of the Network Virtual Appliance.
         * 
         * @return builder
         * 
         */
        public Builder networkVirtualApplianceName(Output networkVirtualApplianceName) {
            $.networkVirtualApplianceName = networkVirtualApplianceName;
            return this;
        }

        /**
         * @param networkVirtualApplianceName The name of the Network Virtual Appliance.
         * 
         * @return builder
         * 
         */
        public Builder networkVirtualApplianceName(String networkVirtualApplianceName) {
            return networkVirtualApplianceName(Output.of(networkVirtualApplianceName));
        }

        /**
         * @param o365Policy Office 365 Policy.
         * 
         * @return builder
         * 
         */
        public Builder o365Policy(@Nullable Output o365Policy) {
            $.o365Policy = o365Policy;
            return this;
        }

        /**
         * @param o365Policy Office 365 Policy.
         * 
         * @return builder
         * 
         */
        public Builder o365Policy(Office365PolicyPropertiesArgs o365Policy) {
            return o365Policy(Output.of(o365Policy));
        }

        /**
         * @param resourceGroupName The name of the resource group.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param siteName The name of the site.
         * 
         * @return builder
         * 
         */
        public Builder siteName(@Nullable Output siteName) {
            $.siteName = siteName;
            return this;
        }

        /**
         * @param siteName The name of the site.
         * 
         * @return builder
         * 
         */
        public Builder siteName(String siteName) {
            return siteName(Output.of(siteName));
        }

        public VirtualApplianceSiteArgs build() {
            if ($.networkVirtualApplianceName == null) {
                throw new MissingRequiredPropertyException("VirtualApplianceSiteArgs", "networkVirtualApplianceName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("VirtualApplianceSiteArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy