RouteSpecHttp2RouteRetryPolicy class

Constructors

RouteSpecHttp2RouteRetryPolicy({Input<List<String>?>? httpRetryEvents, required Input<int> maxRetries, required Input<RouteSpecHttp2RouteRetryPolicyPerRetryTimeout> perRetryTimeout, Input<List<String>?>? tcpRetryEvents})
Creates a new RouteSpecHttp2RouteRetryPolicy. httpRetryEvents List of HTTP retry events. Valid values: client-error (HTTP status code 409), gateway-error (HTTP status codes 502, 503, and 504), server-error (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), stream-error (retry on refused stream). maxRetries Maximum number of retries. perRetryTimeout Per-retry timeout. See spec.http_route.retry_policy.per_retry_timeout Block for details. tcpRetryEvents List of TCP retry events. The only valid value is connection-error. You must specify at least one value for httpRetryEvents, or at least one value for tcpRetryEvents.
const
RouteSpecHttp2RouteRetryPolicy.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
httpRetryEvents → Input<List<String>?>?
List of HTTP retry events. Valid values: client-error (HTTP status code 409), gateway-error (HTTP status codes 502, 503, and 504), server-error (HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511), stream-error (retry on refused stream).
final
maxRetries → Input<int>
Maximum number of retries.
final
perRetryTimeout → Input<RouteSpecHttp2RouteRetryPolicyPerRetryTimeout>
Per-retry timeout. See spec.http_route.retry_policy.per_retry_timeout Block for details.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tcpRetryEvents → Input<List<String>?>?
List of TCP retry events. The only valid value is connection-error. You must specify at least one value for httpRetryEvents, or at least one value for tcpRetryEvents.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited