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

com.pulumi.azure.nginx.inputs.DeploymentFrontendPrivateArgs 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.nginx.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final DeploymentFrontendPrivateArgs Empty = new DeploymentFrontendPrivateArgs();

    /**
     * Specify the method for allocating the private IP. Possible values are `Static` and `Dynamic`. Changing this forces a new NGINX Deployment to be created.
     * 
     */
    @Import(name="allocationMethod", required=true)
    private Output allocationMethod;

    /**
     * @return Specify the method for allocating the private IP. Possible values are `Static` and `Dynamic`. Changing this forces a new NGINX Deployment to be created.
     * 
     */
    public Output allocationMethod() {
        return this.allocationMethod;
    }

    /**
     * Specify the private IP Address. Changing this forces a new NGINX Deployment to be created.
     * 
     */
    @Import(name="ipAddress", required=true)
    private Output ipAddress;

    /**
     * @return Specify the private IP Address. Changing this forces a new NGINX Deployment to be created.
     * 
     */
    public Output ipAddress() {
        return this.ipAddress;
    }

    /**
     * Specify the Subnet Resource ID for this NGINX Deployment. Changing this forces a new NGINX Deployment to be created.
     * 
     */
    @Import(name="subnetId", required=true)
    private Output subnetId;

    /**
     * @return Specify the Subnet Resource ID for this NGINX Deployment. Changing this forces a new NGINX Deployment to be created.
     * 
     */
    public Output subnetId() {
        return this.subnetId;
    }

    private DeploymentFrontendPrivateArgs() {}

    private DeploymentFrontendPrivateArgs(DeploymentFrontendPrivateArgs $) {
        this.allocationMethod = $.allocationMethod;
        this.ipAddress = $.ipAddress;
        this.subnetId = $.subnetId;
    }

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

    public static final class Builder {
        private DeploymentFrontendPrivateArgs $;

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

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

        /**
         * @param allocationMethod Specify the method for allocating the private IP. Possible values are `Static` and `Dynamic`. Changing this forces a new NGINX Deployment to be created.
         * 
         * @return builder
         * 
         */
        public Builder allocationMethod(Output allocationMethod) {
            $.allocationMethod = allocationMethod;
            return this;
        }

        /**
         * @param allocationMethod Specify the method for allocating the private IP. Possible values are `Static` and `Dynamic`. Changing this forces a new NGINX Deployment to be created.
         * 
         * @return builder
         * 
         */
        public Builder allocationMethod(String allocationMethod) {
            return allocationMethod(Output.of(allocationMethod));
        }

        /**
         * @param ipAddress Specify the private IP Address. Changing this forces a new NGINX Deployment to be created.
         * 
         * @return builder
         * 
         */
        public Builder ipAddress(Output ipAddress) {
            $.ipAddress = ipAddress;
            return this;
        }

        /**
         * @param ipAddress Specify the private IP Address. Changing this forces a new NGINX Deployment to be created.
         * 
         * @return builder
         * 
         */
        public Builder ipAddress(String ipAddress) {
            return ipAddress(Output.of(ipAddress));
        }

        /**
         * @param subnetId Specify the Subnet Resource ID for this NGINX Deployment. Changing this forces a new NGINX Deployment to be created.
         * 
         * @return builder
         * 
         */
        public Builder subnetId(Output subnetId) {
            $.subnetId = subnetId;
            return this;
        }

        /**
         * @param subnetId Specify the Subnet Resource ID for this NGINX Deployment. Changing this forces a new NGINX Deployment to be created.
         * 
         * @return builder
         * 
         */
        public Builder subnetId(String subnetId) {
            return subnetId(Output.of(subnetId));
        }

        public DeploymentFrontendPrivateArgs build() {
            if ($.allocationMethod == null) {
                throw new MissingRequiredPropertyException("DeploymentFrontendPrivateArgs", "allocationMethod");
            }
            if ($.ipAddress == null) {
                throw new MissingRequiredPropertyException("DeploymentFrontendPrivateArgs", "ipAddress");
            }
            if ($.subnetId == null) {
                throw new MissingRequiredPropertyException("DeploymentFrontendPrivateArgs", "subnetId");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy