Class CfnRoute.TcpTimeoutProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appmesh.CfnRoute.TcpTimeoutProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRoute.TcpTimeoutProperty>
- Enclosing interface:
CfnRoute.TcpTimeoutProperty
@Stability(Stable)
public static final class CfnRoute.TcpTimeoutProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRoute.TcpTimeoutProperty>
A builder for
CfnRoute.TcpTimeoutProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.idle
(IResolvable idle) Sets the value ofCfnRoute.TcpTimeoutProperty.getIdle()
Sets the value ofCfnRoute.TcpTimeoutProperty.getIdle()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
idle
Sets the value ofCfnRoute.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
Sets the value ofCfnRoute.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnRoute.TcpTimeoutProperty>
- Returns:
- a new instance of
CfnRoute.TcpTimeoutProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-