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

com.pulumi.aws.ec2.inputs.NetworkInsightsAnalysisForwardPathComponentRouteTableRouteArgs 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.aws.ec2.inputs;

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


public final class NetworkInsightsAnalysisForwardPathComponentRouteTableRouteArgs extends com.pulumi.resources.ResourceArgs {

    public static final NetworkInsightsAnalysisForwardPathComponentRouteTableRouteArgs Empty = new NetworkInsightsAnalysisForwardPathComponentRouteTableRouteArgs();

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    private NetworkInsightsAnalysisForwardPathComponentRouteTableRouteArgs() {}

    private NetworkInsightsAnalysisForwardPathComponentRouteTableRouteArgs(NetworkInsightsAnalysisForwardPathComponentRouteTableRouteArgs $) {
        this.destinationCidr = $.destinationCidr;
        this.destinationPrefixListId = $.destinationPrefixListId;
        this.egressOnlyInternetGatewayId = $.egressOnlyInternetGatewayId;
        this.gatewayId = $.gatewayId;
        this.instanceId = $.instanceId;
        this.natGatewayId = $.natGatewayId;
        this.networkInterfaceId = $.networkInterfaceId;
        this.origin = $.origin;
        this.transitGatewayId = $.transitGatewayId;
        this.vpcPeeringConnectionId = $.vpcPeeringConnectionId;
    }

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

    public static final class Builder {
        private NetworkInsightsAnalysisForwardPathComponentRouteTableRouteArgs $;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public NetworkInsightsAnalysisForwardPathComponentRouteTableRouteArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy