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

com.pulumi.azurenative.vmwarecloudsimple.DedicatedCloudServiceArgs Maven / Gradle / Ivy

There is a newer version: 2.82.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.vmwarecloudsimple;

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


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

    public static final DedicatedCloudServiceArgs Empty = new DedicatedCloudServiceArgs();

    /**
     * dedicated cloud Service name
     * 
     */
    @Import(name="dedicatedCloudServiceName")
    private @Nullable Output dedicatedCloudServiceName;

    /**
     * @return dedicated cloud Service name
     * 
     */
    public Optional> dedicatedCloudServiceName() {
        return Optional.ofNullable(this.dedicatedCloudServiceName);
    }

    /**
     * gateway Subnet for the account. It will collect the subnet address and always treat it as /28
     * 
     */
    @Import(name="gatewaySubnet", required=true)
    private Output gatewaySubnet;

    /**
     * @return gateway Subnet for the account. It will collect the subnet address and always treat it as /28
     * 
     */
    public Output gatewaySubnet() {
        return this.gatewaySubnet;
    }

    /**
     * Azure region
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return Azure region
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * 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 list of tags
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return The list of tags
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private DedicatedCloudServiceArgs() {}

    private DedicatedCloudServiceArgs(DedicatedCloudServiceArgs $) {
        this.dedicatedCloudServiceName = $.dedicatedCloudServiceName;
        this.gatewaySubnet = $.gatewaySubnet;
        this.location = $.location;
        this.resourceGroupName = $.resourceGroupName;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private DedicatedCloudServiceArgs $;

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

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

        /**
         * @param dedicatedCloudServiceName dedicated cloud Service name
         * 
         * @return builder
         * 
         */
        public Builder dedicatedCloudServiceName(@Nullable Output dedicatedCloudServiceName) {
            $.dedicatedCloudServiceName = dedicatedCloudServiceName;
            return this;
        }

        /**
         * @param dedicatedCloudServiceName dedicated cloud Service name
         * 
         * @return builder
         * 
         */
        public Builder dedicatedCloudServiceName(String dedicatedCloudServiceName) {
            return dedicatedCloudServiceName(Output.of(dedicatedCloudServiceName));
        }

        /**
         * @param gatewaySubnet gateway Subnet for the account. It will collect the subnet address and always treat it as /28
         * 
         * @return builder
         * 
         */
        public Builder gatewaySubnet(Output gatewaySubnet) {
            $.gatewaySubnet = gatewaySubnet;
            return this;
        }

        /**
         * @param gatewaySubnet gateway Subnet for the account. It will collect the subnet address and always treat it as /28
         * 
         * @return builder
         * 
         */
        public Builder gatewaySubnet(String gatewaySubnet) {
            return gatewaySubnet(Output.of(gatewaySubnet));
        }

        /**
         * @param location Azure region
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location Azure region
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @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 tags The list of tags
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags The list of tags
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy