@Stability(value=Stable) @Internal public static final class HttpRetryPolicy.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements HttpRetryPolicy
HttpRetryPolicysoftware.amazon.jsii.JsiiObject.InitializationModeHttpRetryPolicy.Builder, HttpRetryPolicy.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(HttpRetryPolicy.Builder builder)
Constructor that initializes the object based on literal property values passed by the
HttpRetryPolicy.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
List<HttpRetryEvent> |
getHttpRetryEvents()
Specify HTTP events on which to retry.
|
Number |
getRetryAttempts()
The maximum number of retry attempts.
|
Duration |
getRetryTimeout()
The timeout for each retry attempt.
|
List<TcpRetryEvent> |
getTcpRetryEvents()
TCP events on which to retry.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(HttpRetryPolicy.Builder builder)
HttpRetryPolicy.Builder.public final Number getRetryAttempts()
HttpRetryPolicygetRetryAttempts in interface HttpRetryPolicypublic final Duration getRetryTimeout()
HttpRetryPolicygetRetryTimeout in interface HttpRetryPolicypublic final List<HttpRetryEvent> getHttpRetryEvents()
HttpRetryPolicyYou must specify at least one value for at least one types of retry events.
Default: - no retries for http events
getHttpRetryEvents in interface HttpRetryPolicypublic final List<TcpRetryEvent> getTcpRetryEvents()
HttpRetryPolicyThe event occurs before any processing of a request has started and is encountered when the upstream is temporarily or permanently unavailable. You must specify at least one value for at least one types of retry events.
Default: - no retries for tcp events
getTcpRetryEvents in interface HttpRetryPolicy@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.