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

com.pulumi.azurenative.network.inputs.ReachabilityAnalysisRunPropertiesArgs Maven / Gradle / Ivy

There is a newer version: 2.89.2
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.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;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Represents the Reachability Analysis Run properties.
 * 
 */
public final class ReachabilityAnalysisRunPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final ReachabilityAnalysisRunPropertiesArgs Empty = new ReachabilityAnalysisRunPropertiesArgs();

    @Import(name="description")
    private @Nullable Output description;

    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * Id of the intent resource to run analysis on.
     * 
     */
    @Import(name="intentId", required=true)
    private Output intentId;

    /**
     * @return Id of the intent resource to run analysis on.
     * 
     */
    public Output intentId() {
        return this.intentId;
    }

    private ReachabilityAnalysisRunPropertiesArgs() {}

    private ReachabilityAnalysisRunPropertiesArgs(ReachabilityAnalysisRunPropertiesArgs $) {
        this.description = $.description;
        this.intentId = $.intentId;
    }

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

    public static final class Builder {
        private ReachabilityAnalysisRunPropertiesArgs $;

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

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

        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param intentId Id of the intent resource to run analysis on.
         * 
         * @return builder
         * 
         */
        public Builder intentId(Output intentId) {
            $.intentId = intentId;
            return this;
        }

        /**
         * @param intentId Id of the intent resource to run analysis on.
         * 
         * @return builder
         * 
         */
        public Builder intentId(String intentId) {
            return intentId(Output.of(intentId));
        }

        public ReachabilityAnalysisRunPropertiesArgs build() {
            if ($.intentId == null) {
                throw new MissingRequiredPropertyException("ReachabilityAnalysisRunPropertiesArgs", "intentId");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy