Class GrpcRetryPolicy.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.appmesh.GrpcRetryPolicy.Jsii$Proxy
- All Implemented Interfaces:
GrpcRetryPolicy
,HttpRetryPolicy
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- GrpcRetryPolicy
@Stability(Stable)
@Internal
public static final class GrpcRetryPolicy.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements GrpcRetryPolicy
An implementation for
GrpcRetryPolicy
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.appmesh.GrpcRetryPolicy
GrpcRetryPolicy.Builder, GrpcRetryPolicy.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(GrpcRetryPolicy.Builder builder) Constructor that initializes the object based on literal property values passed by theGrpcRetryPolicy.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final List<GrpcRetryEvent>
gRPC events on which to retry.final List<HttpRetryEvent>
Specify HTTP events on which to retry.final Number
The maximum number of retry attempts.final Duration
The timeout for each retry attempt.final List<TcpRetryEvent>
TCP events on which to retry.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theGrpcRetryPolicy.Builder
.
-
-
Method Details
-
getGrpcRetryEvents
Description copied from interface:GrpcRetryPolicy
gRPC events on which to retry.You must specify at least one value for at least one types of retry events.
Default: - no retries for gRPC events
- Specified by:
getGrpcRetryEvents
in interfaceGrpcRetryPolicy
-
getRetryAttempts
Description copied from interface:HttpRetryPolicy
The maximum number of retry attempts.- Specified by:
getRetryAttempts
in interfaceHttpRetryPolicy
-
getRetryTimeout
Description copied from interface:HttpRetryPolicy
The timeout for each retry attempt.- Specified by:
getRetryTimeout
in interfaceHttpRetryPolicy
-
getHttpRetryEvents
Description copied from interface:HttpRetryPolicy
Specify HTTP events on which to retry.You must specify at least one value for at least one types of retry events.
Default: - no retries for http events
- Specified by:
getHttpRetryEvents
in interfaceHttpRetryPolicy
-
getTcpRetryEvents
Description copied from interface:HttpRetryPolicy
TCP events on which to retry.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
- Specified by:
getTcpRetryEvents
in interfaceHttpRetryPolicy
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-