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

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

// *** 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.azurenative.network.inputs.IPTrafficArgs;
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 Intent properties.
 * 
 */
public final class ReachabilityAnalysisIntentPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final ReachabilityAnalysisIntentPropertiesArgs Empty = new ReachabilityAnalysisIntentPropertiesArgs();

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

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

    /**
     * Destination resource id to verify the reachability path of.
     * 
     */
    @Import(name="destinationResourceId", required=true)
    private Output destinationResourceId;

    /**
     * @return Destination resource id to verify the reachability path of.
     * 
     */
    public Output destinationResourceId() {
        return this.destinationResourceId;
    }

    /**
     * IP traffic information.
     * 
     */
    @Import(name="ipTraffic", required=true)
    private Output ipTraffic;

    /**
     * @return IP traffic information.
     * 
     */
    public Output ipTraffic() {
        return this.ipTraffic;
    }

    /**
     * Source resource id to verify the reachability path of.
     * 
     */
    @Import(name="sourceResourceId", required=true)
    private Output sourceResourceId;

    /**
     * @return Source resource id to verify the reachability path of.
     * 
     */
    public Output sourceResourceId() {
        return this.sourceResourceId;
    }

    private ReachabilityAnalysisIntentPropertiesArgs() {}

    private ReachabilityAnalysisIntentPropertiesArgs(ReachabilityAnalysisIntentPropertiesArgs $) {
        this.description = $.description;
        this.destinationResourceId = $.destinationResourceId;
        this.ipTraffic = $.ipTraffic;
        this.sourceResourceId = $.sourceResourceId;
    }

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

    public static final class Builder {
        private ReachabilityAnalysisIntentPropertiesArgs $;

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

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

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

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

        /**
         * @param destinationResourceId Destination resource id to verify the reachability path of.
         * 
         * @return builder
         * 
         */
        public Builder destinationResourceId(Output destinationResourceId) {
            $.destinationResourceId = destinationResourceId;
            return this;
        }

        /**
         * @param destinationResourceId Destination resource id to verify the reachability path of.
         * 
         * @return builder
         * 
         */
        public Builder destinationResourceId(String destinationResourceId) {
            return destinationResourceId(Output.of(destinationResourceId));
        }

        /**
         * @param ipTraffic IP traffic information.
         * 
         * @return builder
         * 
         */
        public Builder ipTraffic(Output ipTraffic) {
            $.ipTraffic = ipTraffic;
            return this;
        }

        /**
         * @param ipTraffic IP traffic information.
         * 
         * @return builder
         * 
         */
        public Builder ipTraffic(IPTrafficArgs ipTraffic) {
            return ipTraffic(Output.of(ipTraffic));
        }

        /**
         * @param sourceResourceId Source resource id to verify the reachability path of.
         * 
         * @return builder
         * 
         */
        public Builder sourceResourceId(Output sourceResourceId) {
            $.sourceResourceId = sourceResourceId;
            return this;
        }

        /**
         * @param sourceResourceId Source resource id to verify the reachability path of.
         * 
         * @return builder
         * 
         */
        public Builder sourceResourceId(String sourceResourceId) {
            return sourceResourceId(Output.of(sourceResourceId));
        }

        public ReachabilityAnalysisIntentPropertiesArgs build() {
            if ($.destinationResourceId == null) {
                throw new MissingRequiredPropertyException("ReachabilityAnalysisIntentPropertiesArgs", "destinationResourceId");
            }
            if ($.ipTraffic == null) {
                throw new MissingRequiredPropertyException("ReachabilityAnalysisIntentPropertiesArgs", "ipTraffic");
            }
            if ($.sourceResourceId == null) {
                throw new MissingRequiredPropertyException("ReachabilityAnalysisIntentPropertiesArgs", "sourceResourceId");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy