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

com.pulumi.azurenative.network.inputs.VirtualHubRouteV2Args 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.network.inputs;

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


/**
 * VirtualHubRouteTableV2 route.
 * 
 */
public final class VirtualHubRouteV2Args extends com.pulumi.resources.ResourceArgs {

    public static final VirtualHubRouteV2Args Empty = new VirtualHubRouteV2Args();

    /**
     * The type of destinations.
     * 
     */
    @Import(name="destinationType")
    private @Nullable Output destinationType;

    /**
     * @return The type of destinations.
     * 
     */
    public Optional> destinationType() {
        return Optional.ofNullable(this.destinationType);
    }

    /**
     * List of all destinations.
     * 
     */
    @Import(name="destinations")
    private @Nullable Output> destinations;

    /**
     * @return List of all destinations.
     * 
     */
    public Optional>> destinations() {
        return Optional.ofNullable(this.destinations);
    }

    /**
     * The type of next hops.
     * 
     */
    @Import(name="nextHopType")
    private @Nullable Output nextHopType;

    /**
     * @return The type of next hops.
     * 
     */
    public Optional> nextHopType() {
        return Optional.ofNullable(this.nextHopType);
    }

    /**
     * NextHops ip address.
     * 
     */
    @Import(name="nextHops")
    private @Nullable Output> nextHops;

    /**
     * @return NextHops ip address.
     * 
     */
    public Optional>> nextHops() {
        return Optional.ofNullable(this.nextHops);
    }

    private VirtualHubRouteV2Args() {}

    private VirtualHubRouteV2Args(VirtualHubRouteV2Args $) {
        this.destinationType = $.destinationType;
        this.destinations = $.destinations;
        this.nextHopType = $.nextHopType;
        this.nextHops = $.nextHops;
    }

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

    public static final class Builder {
        private VirtualHubRouteV2Args $;

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

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

        /**
         * @param destinationType The type of destinations.
         * 
         * @return builder
         * 
         */
        public Builder destinationType(@Nullable Output destinationType) {
            $.destinationType = destinationType;
            return this;
        }

        /**
         * @param destinationType The type of destinations.
         * 
         * @return builder
         * 
         */
        public Builder destinationType(String destinationType) {
            return destinationType(Output.of(destinationType));
        }

        /**
         * @param destinations List of all destinations.
         * 
         * @return builder
         * 
         */
        public Builder destinations(@Nullable Output> destinations) {
            $.destinations = destinations;
            return this;
        }

        /**
         * @param destinations List of all destinations.
         * 
         * @return builder
         * 
         */
        public Builder destinations(List destinations) {
            return destinations(Output.of(destinations));
        }

        /**
         * @param destinations List of all destinations.
         * 
         * @return builder
         * 
         */
        public Builder destinations(String... destinations) {
            return destinations(List.of(destinations));
        }

        /**
         * @param nextHopType The type of next hops.
         * 
         * @return builder
         * 
         */
        public Builder nextHopType(@Nullable Output nextHopType) {
            $.nextHopType = nextHopType;
            return this;
        }

        /**
         * @param nextHopType The type of next hops.
         * 
         * @return builder
         * 
         */
        public Builder nextHopType(String nextHopType) {
            return nextHopType(Output.of(nextHopType));
        }

        /**
         * @param nextHops NextHops ip address.
         * 
         * @return builder
         * 
         */
        public Builder nextHops(@Nullable Output> nextHops) {
            $.nextHops = nextHops;
            return this;
        }

        /**
         * @param nextHops NextHops ip address.
         * 
         * @return builder
         * 
         */
        public Builder nextHops(List nextHops) {
            return nextHops(Output.of(nextHops));
        }

        /**
         * @param nextHops NextHops ip address.
         * 
         * @return builder
         * 
         */
        public Builder nextHops(String... nextHops) {
            return nextHops(List.of(nextHops));
        }

        public VirtualHubRouteV2Args build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy