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

com.pulumi.azurenative.network.ReachabilityAnalysisIntentArgs Maven / Gradle / Ivy

There is a newer version: 2.72.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.ReachabilityAnalysisIntentPropertiesArgs;
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 ReachabilityAnalysisIntentArgs extends com.pulumi.resources.ResourceArgs {

    public static final ReachabilityAnalysisIntentArgs Empty = new ReachabilityAnalysisIntentArgs();

    /**
     * The name of the network manager.
     * 
     */
    @Import(name="networkManagerName", required=true)
    private Output networkManagerName;

    /**
     * @return The name of the network manager.
     * 
     */
    public Output networkManagerName() {
        return this.networkManagerName;
    }

    /**
     * Represents the Reachability Analysis Intent properties.
     * 
     */
    @Import(name="properties", required=true)
    private Output properties;

    /**
     * @return Represents the Reachability Analysis Intent properties.
     * 
     */
    public Output properties() {
        return this.properties;
    }

    /**
     * Reachability Analysis Intent name.
     * 
     */
    @Import(name="reachabilityAnalysisIntentName")
    private @Nullable Output reachabilityAnalysisIntentName;

    /**
     * @return Reachability Analysis Intent name.
     * 
     */
    public Optional> reachabilityAnalysisIntentName() {
        return Optional.ofNullable(this.reachabilityAnalysisIntentName);
    }

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

    /**
     * Workspace name.
     * 
     */
    @Import(name="workspaceName", required=true)
    private Output workspaceName;

    /**
     * @return Workspace name.
     * 
     */
    public Output workspaceName() {
        return this.workspaceName;
    }

    private ReachabilityAnalysisIntentArgs() {}

    private ReachabilityAnalysisIntentArgs(ReachabilityAnalysisIntentArgs $) {
        this.networkManagerName = $.networkManagerName;
        this.properties = $.properties;
        this.reachabilityAnalysisIntentName = $.reachabilityAnalysisIntentName;
        this.resourceGroupName = $.resourceGroupName;
        this.workspaceName = $.workspaceName;
    }

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

    public static final class Builder {
        private ReachabilityAnalysisIntentArgs $;

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

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

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

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

        /**
         * @param properties Represents the Reachability Analysis Intent properties.
         * 
         * @return builder
         * 
         */
        public Builder properties(Output properties) {
            $.properties = properties;
            return this;
        }

        /**
         * @param properties Represents the Reachability Analysis Intent properties.
         * 
         * @return builder
         * 
         */
        public Builder properties(ReachabilityAnalysisIntentPropertiesArgs properties) {
            return properties(Output.of(properties));
        }

        /**
         * @param reachabilityAnalysisIntentName Reachability Analysis Intent name.
         * 
         * @return builder
         * 
         */
        public Builder reachabilityAnalysisIntentName(@Nullable Output reachabilityAnalysisIntentName) {
            $.reachabilityAnalysisIntentName = reachabilityAnalysisIntentName;
            return this;
        }

        /**
         * @param reachabilityAnalysisIntentName Reachability Analysis Intent name.
         * 
         * @return builder
         * 
         */
        public Builder reachabilityAnalysisIntentName(String reachabilityAnalysisIntentName) {
            return reachabilityAnalysisIntentName(Output.of(reachabilityAnalysisIntentName));
        }

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

        /**
         * @param workspaceName Workspace name.
         * 
         * @return builder
         * 
         */
        public Builder workspaceName(String workspaceName) {
            return workspaceName(Output.of(workspaceName));
        }

        public ReachabilityAnalysisIntentArgs build() {
            if ($.networkManagerName == null) {
                throw new MissingRequiredPropertyException("ReachabilityAnalysisIntentArgs", "networkManagerName");
            }
            if ($.properties == null) {
                throw new MissingRequiredPropertyException("ReachabilityAnalysisIntentArgs", "properties");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("ReachabilityAnalysisIntentArgs", "resourceGroupName");
            }
            if ($.workspaceName == null) {
                throw new MissingRequiredPropertyException("ReachabilityAnalysisIntentArgs", "workspaceName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy