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

com.pulumi.azurenative.hybridnetwork.NetworkServiceDesignVersionArgs 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.hybridnetwork;

import com.pulumi.azurenative.hybridnetwork.inputs.NetworkServiceDesignVersionPropertiesFormatArgs;
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 NetworkServiceDesignVersionArgs extends com.pulumi.resources.ResourceArgs {

    public static final NetworkServiceDesignVersionArgs Empty = new NetworkServiceDesignVersionArgs();

    /**
     * The geo-location where the resource lives
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return The geo-location where the resource lives
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * The name of the network service design group.
     * 
     */
    @Import(name="networkServiceDesignGroupName", required=true)
    private Output networkServiceDesignGroupName;

    /**
     * @return The name of the network service design group.
     * 
     */
    public Output networkServiceDesignGroupName() {
        return this.networkServiceDesignGroupName;
    }

    /**
     * The name of the network service design version. The name should conform to the SemVer 2.0.0 specification: https://semver.org/spec/v2.0.0.html.
     * 
     */
    @Import(name="networkServiceDesignVersionName")
    private @Nullable Output networkServiceDesignVersionName;

    /**
     * @return The name of the network service design version. The name should conform to the SemVer 2.0.0 specification: https://semver.org/spec/v2.0.0.html.
     * 
     */
    public Optional> networkServiceDesignVersionName() {
        return Optional.ofNullable(this.networkServiceDesignVersionName);
    }

    /**
     * network service design version properties.
     * 
     */
    @Import(name="properties")
    private @Nullable Output properties;

    /**
     * @return network service design version properties.
     * 
     */
    public Optional> properties() {
        return Optional.ofNullable(this.properties);
    }

    /**
     * The name of the publisher.
     * 
     */
    @Import(name="publisherName", required=true)
    private Output publisherName;

    /**
     * @return The name of the publisher.
     * 
     */
    public Output publisherName() {
        return this.publisherName;
    }

    /**
     * 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;
    }

    /**
     * Resource tags.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

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

    private NetworkServiceDesignVersionArgs() {}

    private NetworkServiceDesignVersionArgs(NetworkServiceDesignVersionArgs $) {
        this.location = $.location;
        this.networkServiceDesignGroupName = $.networkServiceDesignGroupName;
        this.networkServiceDesignVersionName = $.networkServiceDesignVersionName;
        this.properties = $.properties;
        this.publisherName = $.publisherName;
        this.resourceGroupName = $.resourceGroupName;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private NetworkServiceDesignVersionArgs $;

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

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

        /**
         * @param location The geo-location where the resource lives
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location The geo-location where the resource lives
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param networkServiceDesignGroupName The name of the network service design group.
         * 
         * @return builder
         * 
         */
        public Builder networkServiceDesignGroupName(Output networkServiceDesignGroupName) {
            $.networkServiceDesignGroupName = networkServiceDesignGroupName;
            return this;
        }

        /**
         * @param networkServiceDesignGroupName The name of the network service design group.
         * 
         * @return builder
         * 
         */
        public Builder networkServiceDesignGroupName(String networkServiceDesignGroupName) {
            return networkServiceDesignGroupName(Output.of(networkServiceDesignGroupName));
        }

        /**
         * @param networkServiceDesignVersionName The name of the network service design version. The name should conform to the SemVer 2.0.0 specification: https://semver.org/spec/v2.0.0.html.
         * 
         * @return builder
         * 
         */
        public Builder networkServiceDesignVersionName(@Nullable Output networkServiceDesignVersionName) {
            $.networkServiceDesignVersionName = networkServiceDesignVersionName;
            return this;
        }

        /**
         * @param networkServiceDesignVersionName The name of the network service design version. The name should conform to the SemVer 2.0.0 specification: https://semver.org/spec/v2.0.0.html.
         * 
         * @return builder
         * 
         */
        public Builder networkServiceDesignVersionName(String networkServiceDesignVersionName) {
            return networkServiceDesignVersionName(Output.of(networkServiceDesignVersionName));
        }

        /**
         * @param properties network service design version properties.
         * 
         * @return builder
         * 
         */
        public Builder properties(@Nullable Output properties) {
            $.properties = properties;
            return this;
        }

        /**
         * @param properties network service design version properties.
         * 
         * @return builder
         * 
         */
        public Builder properties(NetworkServiceDesignVersionPropertiesFormatArgs properties) {
            return properties(Output.of(properties));
        }

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

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

        /**
         * @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));
        }

        /**
         * @param tags Resource tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

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

        public NetworkServiceDesignVersionArgs build() {
            if ($.networkServiceDesignGroupName == null) {
                throw new MissingRequiredPropertyException("NetworkServiceDesignVersionArgs", "networkServiceDesignGroupName");
            }
            if ($.publisherName == null) {
                throw new MissingRequiredPropertyException("NetworkServiceDesignVersionArgs", "publisherName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("NetworkServiceDesignVersionArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy