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

com.pulumi.azurenative.avs.WorkloadNetworkPublicIPArgs 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.avs;

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


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

    public static final WorkloadNetworkPublicIPArgs Empty = new WorkloadNetworkPublicIPArgs();

    /**
     * Display name of the Public IP Block.
     * 
     */
    @Import(name="displayName")
    private @Nullable Output displayName;

    /**
     * @return Display name of the Public IP Block.
     * 
     */
    public Optional> displayName() {
        return Optional.ofNullable(this.displayName);
    }

    /**
     * Number of Public IPs requested.
     * 
     */
    @Import(name="numberOfPublicIPs")
    private @Nullable Output numberOfPublicIPs;

    /**
     * @return Number of Public IPs requested.
     * 
     */
    public Optional> numberOfPublicIPs() {
        return Optional.ofNullable(this.numberOfPublicIPs);
    }

    /**
     * Name of the private cloud
     * 
     */
    @Import(name="privateCloudName", required=true)
    private Output privateCloudName;

    /**
     * @return Name of the private cloud
     * 
     */
    public Output privateCloudName() {
        return this.privateCloudName;
    }

    /**
     * NSX Public IP Block identifier. Generally the same as the Public IP Block's display name
     * 
     */
    @Import(name="publicIPId")
    private @Nullable Output publicIPId;

    /**
     * @return NSX Public IP Block identifier. Generally the same as the Public IP Block's display name
     * 
     */
    public Optional> publicIPId() {
        return Optional.ofNullable(this.publicIPId);
    }

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

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

    private WorkloadNetworkPublicIPArgs() {}

    private WorkloadNetworkPublicIPArgs(WorkloadNetworkPublicIPArgs $) {
        this.displayName = $.displayName;
        this.numberOfPublicIPs = $.numberOfPublicIPs;
        this.privateCloudName = $.privateCloudName;
        this.publicIPId = $.publicIPId;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private WorkloadNetworkPublicIPArgs $;

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

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

        /**
         * @param displayName Display name of the Public IP Block.
         * 
         * @return builder
         * 
         */
        public Builder displayName(@Nullable Output displayName) {
            $.displayName = displayName;
            return this;
        }

        /**
         * @param displayName Display name of the Public IP Block.
         * 
         * @return builder
         * 
         */
        public Builder displayName(String displayName) {
            return displayName(Output.of(displayName));
        }

        /**
         * @param numberOfPublicIPs Number of Public IPs requested.
         * 
         * @return builder
         * 
         */
        public Builder numberOfPublicIPs(@Nullable Output numberOfPublicIPs) {
            $.numberOfPublicIPs = numberOfPublicIPs;
            return this;
        }

        /**
         * @param numberOfPublicIPs Number of Public IPs requested.
         * 
         * @return builder
         * 
         */
        public Builder numberOfPublicIPs(Double numberOfPublicIPs) {
            return numberOfPublicIPs(Output.of(numberOfPublicIPs));
        }

        /**
         * @param privateCloudName Name of the private cloud
         * 
         * @return builder
         * 
         */
        public Builder privateCloudName(Output privateCloudName) {
            $.privateCloudName = privateCloudName;
            return this;
        }

        /**
         * @param privateCloudName Name of the private cloud
         * 
         * @return builder
         * 
         */
        public Builder privateCloudName(String privateCloudName) {
            return privateCloudName(Output.of(privateCloudName));
        }

        /**
         * @param publicIPId NSX Public IP Block identifier. Generally the same as the Public IP Block's display name
         * 
         * @return builder
         * 
         */
        public Builder publicIPId(@Nullable Output publicIPId) {
            $.publicIPId = publicIPId;
            return this;
        }

        /**
         * @param publicIPId NSX Public IP Block identifier. Generally the same as the Public IP Block's display name
         * 
         * @return builder
         * 
         */
        public Builder publicIPId(String publicIPId) {
            return publicIPId(Output.of(publicIPId));
        }

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

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy