public static class RetryPolicyContext.Builder extends Object
Modifier and Type | Method and Description |
---|---|
RetryPolicyContext |
build() |
RetryPolicyContext.Builder |
exception(SdkBaseException exception) |
RetryPolicyContext.Builder |
httpStatusCode(Integer httpStatusCode) |
RetryPolicyContext.Builder |
originalRequest(Object originalRequest) |
RetryPolicyContext.Builder |
request(Request<?> request) |
RetryPolicyContext.Builder |
retriesAttempted(int retriesAttempted) |
public RetryPolicyContext.Builder originalRequest(Object originalRequest)
public RetryPolicyContext.Builder request(Request<?> request)
public RetryPolicyContext.Builder exception(SdkBaseException exception)
public RetryPolicyContext.Builder retriesAttempted(int retriesAttempted)
public RetryPolicyContext.Builder httpStatusCode(Integer httpStatusCode)
public RetryPolicyContext build()
Copyright © 2024. All rights reserved.