public static final class RetryPolicyContext.Builder extends Object implements CopyableBuilder<RetryPolicyContext.Builder,RetryPolicyContext>
Modifier and Type | Method and Description |
---|---|
RetryPolicyContext |
build() |
RetryPolicyContext.Builder |
exception(SdkException exception) |
RetryPolicyContext.Builder |
executionAttributes(ExecutionAttributes executionAttributes) |
RetryPolicyContext.Builder |
httpStatusCode(Integer httpStatusCode) |
RetryPolicyContext.Builder |
originalRequest(SdkRequest originalRequest) |
RetryPolicyContext.Builder |
request(SdkHttpFullRequest request) |
RetryPolicyContext.Builder |
retriesAttempted(int retriesAttempted) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
copy
applyMutation
public RetryPolicyContext.Builder originalRequest(SdkRequest originalRequest)
public RetryPolicyContext.Builder request(SdkHttpFullRequest request)
public RetryPolicyContext.Builder exception(SdkException exception)
public RetryPolicyContext.Builder executionAttributes(ExecutionAttributes executionAttributes)
public RetryPolicyContext.Builder retriesAttempted(int retriesAttempted)
public RetryPolicyContext.Builder httpStatusCode(Integer httpStatusCode)
public RetryPolicyContext build()
build
in interface Buildable
build
in interface SdkBuilder<RetryPolicyContext.Builder,RetryPolicyContext>
Copyright © 2021. All rights reserved.