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

com.pulumi.aws.appmesh.inputs.RouteSpecTcpRouteTimeoutArgs Maven / Gradle / Ivy

Go to download

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

The 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.appmesh.inputs;

import com.pulumi.aws.appmesh.inputs.RouteSpecTcpRouteTimeoutIdleArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final RouteSpecTcpRouteTimeoutArgs Empty = new RouteSpecTcpRouteTimeoutArgs();

    /**
     * Idle timeout. An idle timeout bounds the amount of time that a connection may be idle.
     * 
     */
    @Import(name="idle")
    private @Nullable Output idle;

    /**
     * @return Idle timeout. An idle timeout bounds the amount of time that a connection may be idle.
     * 
     */
    public Optional> idle() {
        return Optional.ofNullable(this.idle);
    }

    private RouteSpecTcpRouteTimeoutArgs() {}

    private RouteSpecTcpRouteTimeoutArgs(RouteSpecTcpRouteTimeoutArgs $) {
        this.idle = $.idle;
    }

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

    public static final class Builder {
        private RouteSpecTcpRouteTimeoutArgs $;

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

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

        /**
         * @param idle Idle timeout. An idle timeout bounds the amount of time that a connection may be idle.
         * 
         * @return builder
         * 
         */
        public Builder idle(@Nullable Output idle) {
            $.idle = idle;
            return this;
        }

        /**
         * @param idle Idle timeout. An idle timeout bounds the amount of time that a connection may be idle.
         * 
         * @return builder
         * 
         */
        public Builder idle(RouteSpecTcpRouteTimeoutIdleArgs idle) {
            return idle(Output.of(idle));
        }

        public RouteSpecTcpRouteTimeoutArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy