public static final class CfnRoute.GrpcTimeoutProperty.Builder
extends java.lang.Object
CfnRoute.GrpcTimeoutProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnRoute.GrpcTimeoutProperty |
build()
Builds the configured instance.
|
CfnRoute.GrpcTimeoutProperty.Builder |
idle(CfnRoute.DurationProperty idle)
Sets the value of
CfnRoute.GrpcTimeoutProperty.getIdle() |
CfnRoute.GrpcTimeoutProperty.Builder |
idle(IResolvable idle)
Sets the value of
CfnRoute.GrpcTimeoutProperty.getIdle() |
CfnRoute.GrpcTimeoutProperty.Builder |
perRequest(CfnRoute.DurationProperty perRequest)
Sets the value of
CfnRoute.GrpcTimeoutProperty.getPerRequest() |
CfnRoute.GrpcTimeoutProperty.Builder |
perRequest(IResolvable perRequest)
Sets the value of
CfnRoute.GrpcTimeoutProperty.getPerRequest() |
public CfnRoute.GrpcTimeoutProperty.Builder idle(IResolvable idle)
CfnRoute.GrpcTimeoutProperty.getIdle()
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.this
public CfnRoute.GrpcTimeoutProperty.Builder idle(CfnRoute.DurationProperty idle)
CfnRoute.GrpcTimeoutProperty.getIdle()
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.this
public CfnRoute.GrpcTimeoutProperty.Builder perRequest(IResolvable perRequest)
CfnRoute.GrpcTimeoutProperty.getPerRequest()
perRequest
- An object that represents a per request timeout.
The default value is 15 seconds. If you set a higher timeout, then make sure that the higher value is set for each App Mesh resource in a conversation. For example, if a virtual node backend uses a virtual router provider to route to another virtual node, then the timeout should be greater than 15 seconds for the source and destination virtual node and the route.this
public CfnRoute.GrpcTimeoutProperty.Builder perRequest(CfnRoute.DurationProperty perRequest)
CfnRoute.GrpcTimeoutProperty.getPerRequest()
perRequest
- An object that represents a per request timeout.
The default value is 15 seconds. If you set a higher timeout, then make sure that the higher value is set for each App Mesh resource in a conversation. For example, if a virtual node backend uses a virtual router provider to route to another virtual node, then the timeout should be greater than 15 seconds for the source and destination virtual node and the route.this
public CfnRoute.GrpcTimeoutProperty build()
CfnRoute.GrpcTimeoutProperty
java.lang.NullPointerException
- if any required attribute was not provided