Interface CfnVirtualNode.ListenerTimeoutProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVirtualNode.ListenerTimeoutProperty.Jsii$Proxy
- Enclosing class:
CfnVirtualNode
@Stability(Stable)
public static interface CfnVirtualNode.ListenerTimeoutProperty
extends software.amazon.jsii.JsiiSerializable
An object that represents timeouts for different protocols.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appmesh.*;
ListenerTimeoutProperty listenerTimeoutProperty = ListenerTimeoutProperty.builder()
.grpc(GrpcTimeoutProperty.builder()
.idle(DurationProperty.builder()
.unit("unit")
.value(123)
.build())
.perRequest(DurationProperty.builder()
.unit("unit")
.value(123)
.build())
.build())
.http(HttpTimeoutProperty.builder()
.idle(DurationProperty.builder()
.unit("unit")
.value(123)
.build())
.perRequest(DurationProperty.builder()
.unit("unit")
.value(123)
.build())
.build())
.http2(HttpTimeoutProperty.builder()
.idle(DurationProperty.builder()
.unit("unit")
.value(123)
.build())
.perRequest(DurationProperty.builder()
.unit("unit")
.value(123)
.build())
.build())
.tcp(TcpTimeoutProperty.builder()
.idle(DurationProperty.builder()
.unit("unit")
.value(123)
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnVirtualNode.ListenerTimeoutPropertystatic final classAn implementation forCfnVirtualNode.ListenerTimeoutProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectgetGrpc()An object that represents types of timeouts.default ObjectgetHttp()An object that represents types of timeouts.default ObjectgetHttp2()An object that represents types of timeouts.default ObjectgetTcp()An object that represents types of timeouts.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getGrpc
An object that represents types of timeouts.Returns union: either
IResolvableorCfnVirtualNode.GrpcTimeoutProperty- See Also:
-
getHttp
An object that represents types of timeouts.Returns union: either
IResolvableorCfnVirtualNode.HttpTimeoutProperty- See Also:
-
getHttp2
An object that represents types of timeouts.Returns union: either
IResolvableorCfnVirtualNode.HttpTimeoutProperty- See Also:
-
getTcp
An object that represents types of timeouts.Returns union: either
IResolvableorCfnVirtualNode.TcpTimeoutProperty- See Also:
-
builder
-