
com.pulumi.aws.ec2.VpnGatewayRoutePropagationArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** 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.aws.ec2;
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 VpnGatewayRoutePropagationArgs extends com.pulumi.resources.ResourceArgs {
public static final VpnGatewayRoutePropagationArgs Empty = new VpnGatewayRoutePropagationArgs();
/**
* The id of the `aws.ec2.RouteTable` to propagate routes into.
*
*/
@Import(name="routeTableId", required=true)
private Output routeTableId;
/**
* @return The id of the `aws.ec2.RouteTable` to propagate routes into.
*
*/
public Output routeTableId() {
return this.routeTableId;
}
/**
* The id of the `aws.ec2.VpnGateway` to propagate routes from.
*
*/
@Import(name="vpnGatewayId", required=true)
private Output vpnGatewayId;
/**
* @return The id of the `aws.ec2.VpnGateway` to propagate routes from.
*
*/
public Output vpnGatewayId() {
return this.vpnGatewayId;
}
private VpnGatewayRoutePropagationArgs() {}
private VpnGatewayRoutePropagationArgs(VpnGatewayRoutePropagationArgs $) {
this.routeTableId = $.routeTableId;
this.vpnGatewayId = $.vpnGatewayId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(VpnGatewayRoutePropagationArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private VpnGatewayRoutePropagationArgs $;
public Builder() {
$ = new VpnGatewayRoutePropagationArgs();
}
public Builder(VpnGatewayRoutePropagationArgs defaults) {
$ = new VpnGatewayRoutePropagationArgs(Objects.requireNonNull(defaults));
}
/**
* @param routeTableId The id of the `aws.ec2.RouteTable` to propagate routes into.
*
* @return builder
*
*/
public Builder routeTableId(Output routeTableId) {
$.routeTableId = routeTableId;
return this;
}
/**
* @param routeTableId The id of the `aws.ec2.RouteTable` to propagate routes into.
*
* @return builder
*
*/
public Builder routeTableId(String routeTableId) {
return routeTableId(Output.of(routeTableId));
}
/**
* @param vpnGatewayId The id of the `aws.ec2.VpnGateway` to propagate routes from.
*
* @return builder
*
*/
public Builder vpnGatewayId(Output vpnGatewayId) {
$.vpnGatewayId = vpnGatewayId;
return this;
}
/**
* @param vpnGatewayId The id of the `aws.ec2.VpnGateway` to propagate routes from.
*
* @return builder
*
*/
public Builder vpnGatewayId(String vpnGatewayId) {
return vpnGatewayId(Output.of(vpnGatewayId));
}
public VpnGatewayRoutePropagationArgs build() {
if ($.routeTableId == null) {
throw new MissingRequiredPropertyException("VpnGatewayRoutePropagationArgs", "routeTableId");
}
if ($.vpnGatewayId == null) {
throw new MissingRequiredPropertyException("VpnGatewayRoutePropagationArgs", "vpnGatewayId");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy