Class CfnRoutePropsMixin.TcpTimeoutProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appmesh.CfnRoutePropsMixin.TcpTimeoutProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRoutePropsMixin.TcpTimeoutProperty>
- Enclosing interface:
CfnRoutePropsMixin.TcpTimeoutProperty
@Stability(Stable)
public static final class CfnRoutePropsMixin.TcpTimeoutProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRoutePropsMixin.TcpTimeoutProperty>
A builder for
CfnRoutePropsMixin.TcpTimeoutProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnRoutePropsMixin.TcpTimeoutProperty.getIdle()idle(IResolvable idle) Sets the value ofCfnRoutePropsMixin.TcpTimeoutProperty.getIdle()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
idle
Sets the value ofCfnRoutePropsMixin.TcpTimeoutProperty.getIdle()- Parameters:
idle- An object that represents an idle timeout. An idle timeout bounds the amount of time that a connection may be idle. The default value is none.- Returns:
this
-
idle
@Stability(Stable) public CfnRoutePropsMixin.TcpTimeoutProperty.Builder idle(CfnRoutePropsMixin.DurationProperty idle) Sets the value ofCfnRoutePropsMixin.TcpTimeoutProperty.getIdle()- Parameters:
idle- An object that represents an idle timeout. An idle timeout bounds the amount of time that a connection may be idle. The default value is none.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRoutePropsMixin.TcpTimeoutProperty>- Returns:
- a new instance of
CfnRoutePropsMixin.TcpTimeoutProperty - Throws:
NullPointerException- if any required attribute was not provided
-