public static final class GrpcRetryPolicy.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements GrpcRetryPolicy
GrpcRetryPolicy
GrpcRetryPolicy.Builder, GrpcRetryPolicy.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
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(java.lang.Object o) |
java.util.List<GrpcRetryEvent> |
getGrpcRetryEvents()
gRPC events on which to retry.
|
java.util.List<HttpRetryEvent> |
getHttpRetryEvents()
Specify HTTP events on which to retry.
|
java.lang.Number |
getRetryAttempts()
The maximum number of retry attempts.
|
Duration |
getRetryTimeout()
The timeout for each retry attempt.
|
java.util.List<TcpRetryEvent> |
getTcpRetryEvents()
TCP events on which to retry.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.util.List<GrpcRetryEvent> getGrpcRetryEvents()
GrpcRetryPolicy
You must specify at least one value for at least one types of retry events.
Default: - no retries for gRPC events
getGrpcRetryEvents
in interface GrpcRetryPolicy
public final java.lang.Number getRetryAttempts()
HttpRetryPolicy
getRetryAttempts
in interface HttpRetryPolicy
public final Duration getRetryTimeout()
HttpRetryPolicy
getRetryTimeout
in interface HttpRetryPolicy
public final java.util.List<HttpRetryEvent> getHttpRetryEvents()
HttpRetryPolicy
You must specify at least one value for at least one types of retry events.
Default: - no retries for http events
getHttpRetryEvents
in interface HttpRetryPolicy
public final java.util.List<TcpRetryEvent> getTcpRetryEvents()
HttpRetryPolicy
The 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
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()