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

com.pulumi.azure.network.outputs.GetRouteTableRoute Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.network.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class GetRouteTableRoute {
    /**
     * @return The destination CIDR to which the route applies.
     * 
     */
    private String addressPrefix;
    /**
     * @return The name of the Route Table.
     * 
     */
    private String name;
    /**
     * @return Contains the IP address packets should be forwarded to.
     * 
     */
    private String nextHopInIpAddress;
    /**
     * @return The type of Azure hop the packet should be sent to.
     * 
     */
    private String nextHopType;

    private GetRouteTableRoute() {}
    /**
     * @return The destination CIDR to which the route applies.
     * 
     */
    public String addressPrefix() {
        return this.addressPrefix;
    }
    /**
     * @return The name of the Route Table.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Contains the IP address packets should be forwarded to.
     * 
     */
    public String nextHopInIpAddress() {
        return this.nextHopInIpAddress;
    }
    /**
     * @return The type of Azure hop the packet should be sent to.
     * 
     */
    public String nextHopType() {
        return this.nextHopType;
    }

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

    public static Builder builder(GetRouteTableRoute defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String addressPrefix;
        private String name;
        private String nextHopInIpAddress;
        private String nextHopType;
        public Builder() {}
        public Builder(GetRouteTableRoute defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.addressPrefix = defaults.addressPrefix;
    	      this.name = defaults.name;
    	      this.nextHopInIpAddress = defaults.nextHopInIpAddress;
    	      this.nextHopType = defaults.nextHopType;
        }

        @CustomType.Setter
        public Builder addressPrefix(String addressPrefix) {
            if (addressPrefix == null) {
              throw new MissingRequiredPropertyException("GetRouteTableRoute", "addressPrefix");
            }
            this.addressPrefix = addressPrefix;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetRouteTableRoute", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder nextHopInIpAddress(String nextHopInIpAddress) {
            if (nextHopInIpAddress == null) {
              throw new MissingRequiredPropertyException("GetRouteTableRoute", "nextHopInIpAddress");
            }
            this.nextHopInIpAddress = nextHopInIpAddress;
            return this;
        }
        @CustomType.Setter
        public Builder nextHopType(String nextHopType) {
            if (nextHopType == null) {
              throw new MissingRequiredPropertyException("GetRouteTableRoute", "nextHopType");
            }
            this.nextHopType = nextHopType;
            return this;
        }
        public GetRouteTableRoute build() {
            final var _resultValue = new GetRouteTableRoute();
            _resultValue.addressPrefix = addressPrefix;
            _resultValue.name = name;
            _resultValue.nextHopInIpAddress = nextHopInIpAddress;
            _resultValue.nextHopType = nextHopType;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy