@Stability(value=Stable)
public static interface CfnRoute.GrpcRetryPolicyProperty
extends software.amazon.jsii.JsiiSerializable
// 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.*;
GrpcRetryPolicyProperty grpcRetryPolicyProperty = GrpcRetryPolicyProperty.builder()
.maxRetries(123)
.perRetryTimeout(DurationProperty.builder()
.unit("unit")
.value(123)
.build())
// the properties below are optional
.grpcRetryEvents(List.of("grpcRetryEvents"))
.httpRetryEvents(List.of("httpRetryEvents"))
.tcpRetryEvents(List.of("tcpRetryEvents"))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnRoute.GrpcRetryPolicyProperty.Builder
A builder for
CfnRoute.GrpcRetryPolicyProperty |
static class |
CfnRoute.GrpcRetryPolicyProperty.Jsii$Proxy
An implementation for
CfnRoute.GrpcRetryPolicyProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnRoute.GrpcRetryPolicyProperty.Builder |
builder() |
default List<String> |
getGrpcRetryEvents()
`CfnRoute.GrpcRetryPolicyProperty.GrpcRetryEvents`.
|
default List<String> |
getHttpRetryEvents()
`CfnRoute.GrpcRetryPolicyProperty.HttpRetryEvents`.
|
Number |
getMaxRetries()
`CfnRoute.GrpcRetryPolicyProperty.MaxRetries`.
|
Object |
getPerRetryTimeout()
`CfnRoute.GrpcRetryPolicyProperty.PerRetryTimeout`.
|
default List<String> |
getTcpRetryEvents()
`CfnRoute.GrpcRetryPolicyProperty.TcpRetryEvents`.
|
@Stability(value=Stable) @Nullable default List<String> getGrpcRetryEvents()
@Stability(value=Stable) @Nullable default List<String> getHttpRetryEvents()
@Stability(value=Stable) @NotNull Number getMaxRetries()
@Stability(value=Stable) @NotNull Object getPerRetryTimeout()
@Stability(value=Stable) @Nullable default List<String> getTcpRetryEvents()
@Stability(value=Stable) static CfnRoute.GrpcRetryPolicyProperty.Builder builder()
Copyright © 2021. All rights reserved.