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

com.pulumi.aws.ec2.inputs.VpnConnectionVgwTelemetryArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
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.aws.ec2.inputs;

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


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

    public static final VpnConnectionVgwTelemetryArgs Empty = new VpnConnectionVgwTelemetryArgs();

    /**
     * The number of accepted routes.
     * 
     */
    @Import(name="acceptedRouteCount")
    private @Nullable Output acceptedRouteCount;

    /**
     * @return The number of accepted routes.
     * 
     */
    public Optional> acceptedRouteCount() {
        return Optional.ofNullable(this.acceptedRouteCount);
    }

    /**
     * The Amazon Resource Name (ARN) of the VPN tunnel endpoint certificate.
     * 
     */
    @Import(name="certificateArn")
    private @Nullable Output certificateArn;

    /**
     * @return The Amazon Resource Name (ARN) of the VPN tunnel endpoint certificate.
     * 
     */
    public Optional> certificateArn() {
        return Optional.ofNullable(this.certificateArn);
    }

    /**
     * The date and time of the last change in status.
     * 
     */
    @Import(name="lastStatusChange")
    private @Nullable Output lastStatusChange;

    /**
     * @return The date and time of the last change in status.
     * 
     */
    public Optional> lastStatusChange() {
        return Optional.ofNullable(this.lastStatusChange);
    }

    /**
     * The Internet-routable IP address of the virtual private gateway's outside interface.
     * 
     */
    @Import(name="outsideIpAddress")
    private @Nullable Output outsideIpAddress;

    /**
     * @return The Internet-routable IP address of the virtual private gateway's outside interface.
     * 
     */
    public Optional> outsideIpAddress() {
        return Optional.ofNullable(this.outsideIpAddress);
    }

    /**
     * The status of the VPN tunnel.
     * 
     */
    @Import(name="status")
    private @Nullable Output status;

    /**
     * @return The status of the VPN tunnel.
     * 
     */
    public Optional> status() {
        return Optional.ofNullable(this.status);
    }

    /**
     * If an error occurs, a description of the error.
     * 
     */
    @Import(name="statusMessage")
    private @Nullable Output statusMessage;

    /**
     * @return If an error occurs, a description of the error.
     * 
     */
    public Optional> statusMessage() {
        return Optional.ofNullable(this.statusMessage);
    }

    private VpnConnectionVgwTelemetryArgs() {}

    private VpnConnectionVgwTelemetryArgs(VpnConnectionVgwTelemetryArgs $) {
        this.acceptedRouteCount = $.acceptedRouteCount;
        this.certificateArn = $.certificateArn;
        this.lastStatusChange = $.lastStatusChange;
        this.outsideIpAddress = $.outsideIpAddress;
        this.status = $.status;
        this.statusMessage = $.statusMessage;
    }

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

    public static final class Builder {
        private VpnConnectionVgwTelemetryArgs $;

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

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

        /**
         * @param acceptedRouteCount The number of accepted routes.
         * 
         * @return builder
         * 
         */
        public Builder acceptedRouteCount(@Nullable Output acceptedRouteCount) {
            $.acceptedRouteCount = acceptedRouteCount;
            return this;
        }

        /**
         * @param acceptedRouteCount The number of accepted routes.
         * 
         * @return builder
         * 
         */
        public Builder acceptedRouteCount(Integer acceptedRouteCount) {
            return acceptedRouteCount(Output.of(acceptedRouteCount));
        }

        /**
         * @param certificateArn The Amazon Resource Name (ARN) of the VPN tunnel endpoint certificate.
         * 
         * @return builder
         * 
         */
        public Builder certificateArn(@Nullable Output certificateArn) {
            $.certificateArn = certificateArn;
            return this;
        }

        /**
         * @param certificateArn The Amazon Resource Name (ARN) of the VPN tunnel endpoint certificate.
         * 
         * @return builder
         * 
         */
        public Builder certificateArn(String certificateArn) {
            return certificateArn(Output.of(certificateArn));
        }

        /**
         * @param lastStatusChange The date and time of the last change in status.
         * 
         * @return builder
         * 
         */
        public Builder lastStatusChange(@Nullable Output lastStatusChange) {
            $.lastStatusChange = lastStatusChange;
            return this;
        }

        /**
         * @param lastStatusChange The date and time of the last change in status.
         * 
         * @return builder
         * 
         */
        public Builder lastStatusChange(String lastStatusChange) {
            return lastStatusChange(Output.of(lastStatusChange));
        }

        /**
         * @param outsideIpAddress The Internet-routable IP address of the virtual private gateway's outside interface.
         * 
         * @return builder
         * 
         */
        public Builder outsideIpAddress(@Nullable Output outsideIpAddress) {
            $.outsideIpAddress = outsideIpAddress;
            return this;
        }

        /**
         * @param outsideIpAddress The Internet-routable IP address of the virtual private gateway's outside interface.
         * 
         * @return builder
         * 
         */
        public Builder outsideIpAddress(String outsideIpAddress) {
            return outsideIpAddress(Output.of(outsideIpAddress));
        }

        /**
         * @param status The status of the VPN tunnel.
         * 
         * @return builder
         * 
         */
        public Builder status(@Nullable Output status) {
            $.status = status;
            return this;
        }

        /**
         * @param status The status of the VPN tunnel.
         * 
         * @return builder
         * 
         */
        public Builder status(String status) {
            return status(Output.of(status));
        }

        /**
         * @param statusMessage If an error occurs, a description of the error.
         * 
         * @return builder
         * 
         */
        public Builder statusMessage(@Nullable Output statusMessage) {
            $.statusMessage = statusMessage;
            return this;
        }

        /**
         * @param statusMessage If an error occurs, a description of the error.
         * 
         * @return builder
         * 
         */
        public Builder statusMessage(String statusMessage) {
            return statusMessage(Output.of(statusMessage));
        }

        public VpnConnectionVgwTelemetryArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy