Class RetryPolicyContext.Builder
- java.lang.Object
-
- software.amazon.awssdk.core.retry.RetryPolicyContext.Builder
-
- All Implemented Interfaces:
Buildable
,CopyableBuilder<RetryPolicyContext.Builder,RetryPolicyContext>
,SdkBuilder<RetryPolicyContext.Builder,RetryPolicyContext>
- Enclosing class:
- RetryPolicyContext
public static final class RetryPolicyContext.Builder extends Object implements CopyableBuilder<RetryPolicyContext.Builder,RetryPolicyContext>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation
-
-
-
-
Method Detail
-
originalRequest
public RetryPolicyContext.Builder originalRequest(SdkRequest originalRequest)
-
request
public RetryPolicyContext.Builder request(SdkHttpFullRequest request)
-
exception
public RetryPolicyContext.Builder exception(SdkException exception)
-
executionAttributes
public RetryPolicyContext.Builder executionAttributes(ExecutionAttributes executionAttributes)
-
retriesAttempted
public RetryPolicyContext.Builder retriesAttempted(int retriesAttempted)
-
httpStatusCode
public RetryPolicyContext.Builder httpStatusCode(Integer httpStatusCode)
-
build
public RetryPolicyContext build()
- Specified by:
build
in interfaceBuildable
- Specified by:
build
in interfaceSdkBuilder<RetryPolicyContext.Builder,RetryPolicyContext>
-
-