![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.stack.inputs.HciLogicalNetworkSubnetRouteArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
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.
// *** 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.stack.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;
public final class HciLogicalNetworkSubnetRouteArgs extends com.pulumi.resources.ResourceArgs {
public static final HciLogicalNetworkSubnetRouteArgs Empty = new HciLogicalNetworkSubnetRouteArgs();
/**
* The Address in CIDR notation. Changing this forces a new resource to be created.
*
*/
@Import(name="addressPrefix", required=true)
private Output addressPrefix;
/**
* @return The Address in CIDR notation. Changing this forces a new resource to be created.
*
*/
public Output addressPrefix() {
return this.addressPrefix;
}
/**
* The name of the route. Changing this forces a new resource to be created.
*
*/
@Import(name="name", required=true)
private Output name;
/**
* @return The name of the route. Changing this forces a new resource to be created.
*
*/
public Output name() {
return this.name;
}
/**
* The IPv4 address of the next hop. Changing this forces a new resource to be created.
*
*/
@Import(name="nextHopIpAddress", required=true)
private Output nextHopIpAddress;
/**
* @return The IPv4 address of the next hop. Changing this forces a new resource to be created.
*
*/
public Output nextHopIpAddress() {
return this.nextHopIpAddress;
}
private HciLogicalNetworkSubnetRouteArgs() {}
private HciLogicalNetworkSubnetRouteArgs(HciLogicalNetworkSubnetRouteArgs $) {
this.addressPrefix = $.addressPrefix;
this.name = $.name;
this.nextHopIpAddress = $.nextHopIpAddress;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(HciLogicalNetworkSubnetRouteArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private HciLogicalNetworkSubnetRouteArgs $;
public Builder() {
$ = new HciLogicalNetworkSubnetRouteArgs();
}
public Builder(HciLogicalNetworkSubnetRouteArgs defaults) {
$ = new HciLogicalNetworkSubnetRouteArgs(Objects.requireNonNull(defaults));
}
/**
* @param addressPrefix The Address in CIDR notation. Changing this forces a new resource to be created.
*
* @return builder
*
*/
public Builder addressPrefix(Output addressPrefix) {
$.addressPrefix = addressPrefix;
return this;
}
/**
* @param addressPrefix The Address in CIDR notation. Changing this forces a new resource to be created.
*
* @return builder
*
*/
public Builder addressPrefix(String addressPrefix) {
return addressPrefix(Output.of(addressPrefix));
}
/**
* @param name The name of the route. Changing this forces a new resource to be created.
*
* @return builder
*
*/
public Builder name(Output name) {
$.name = name;
return this;
}
/**
* @param name The name of the route. Changing this forces a new resource to be created.
*
* @return builder
*
*/
public Builder name(String name) {
return name(Output.of(name));
}
/**
* @param nextHopIpAddress The IPv4 address of the next hop. Changing this forces a new resource to be created.
*
* @return builder
*
*/
public Builder nextHopIpAddress(Output nextHopIpAddress) {
$.nextHopIpAddress = nextHopIpAddress;
return this;
}
/**
* @param nextHopIpAddress The IPv4 address of the next hop. Changing this forces a new resource to be created.
*
* @return builder
*
*/
public Builder nextHopIpAddress(String nextHopIpAddress) {
return nextHopIpAddress(Output.of(nextHopIpAddress));
}
public HciLogicalNetworkSubnetRouteArgs build() {
if ($.addressPrefix == null) {
throw new MissingRequiredPropertyException("HciLogicalNetworkSubnetRouteArgs", "addressPrefix");
}
if ($.name == null) {
throw new MissingRequiredPropertyException("HciLogicalNetworkSubnetRouteArgs", "name");
}
if ($.nextHopIpAddress == null) {
throw new MissingRequiredPropertyException("HciLogicalNetworkSubnetRouteArgs", "nextHopIpAddress");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy