Interface ApiCallTimeoutException.Builder
-
- All Superinterfaces:
Buildable
,SdkClientException.Builder
,SdkException.Builder
- All Known Implementing Classes:
ApiCallTimeoutException.BuilderImpl
- Enclosing class:
- ApiCallTimeoutException
public static interface ApiCallTimeoutException.Builder extends SdkClientException.Builder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ApiCallTimeoutException
build()
Creates a newSdkException
with the specified properties.ApiCallTimeoutException.Builder
cause(Throwable cause)
Specifies the exception that caused this exception to occur.ApiCallTimeoutException.Builder
message(String message)
Specifies the details of this exception.ApiCallTimeoutException.Builder
numAttempts(Integer numAttempts)
ApiCallTimeoutException.Builder
writableStackTrace(Boolean writableStackTrace)
Specifies whether the stack trace in this exception can be written.-
Methods inherited from interface software.amazon.awssdk.core.exception.SdkException.Builder
cause, message, numAttempts, writableStackTrace
-
-
-
-
Method Detail
-
message
ApiCallTimeoutException.Builder message(String message)
Description copied from interface:SdkException.Builder
Specifies the details of this exception.- Specified by:
message
in interfaceSdkClientException.Builder
- Specified by:
message
in interfaceSdkException.Builder
- Parameters:
message
- The details of this exception.- Returns:
- This method for object chaining
-
cause
ApiCallTimeoutException.Builder cause(Throwable cause)
Description copied from interface:SdkException.Builder
Specifies the exception that caused this exception to occur.- Specified by:
cause
in interfaceSdkClientException.Builder
- Specified by:
cause
in interfaceSdkException.Builder
- Parameters:
cause
- The exception that caused this exception to occur.- Returns:
- This object for method chaining.
-
writableStackTrace
ApiCallTimeoutException.Builder writableStackTrace(Boolean writableStackTrace)
Description copied from interface:SdkException.Builder
Specifies whether the stack trace in this exception can be written.- Specified by:
writableStackTrace
in interfaceSdkClientException.Builder
- Specified by:
writableStackTrace
in interfaceSdkException.Builder
- Parameters:
writableStackTrace
- Whether the stack trace can be written.- Returns:
- This method for object chaining
-
numAttempts
ApiCallTimeoutException.Builder numAttempts(Integer numAttempts)
- Specified by:
numAttempts
in interfaceSdkClientException.Builder
- Specified by:
numAttempts
in interfaceSdkException.Builder
- Parameters:
numAttempts
- The attempt count- Returns:
- This method for object chaining
-
build
ApiCallTimeoutException build()
Description copied from interface:SdkException.Builder
Creates a newSdkException
with the specified properties.- Specified by:
build
in interfaceBuildable
- Specified by:
build
in interfaceSdkClientException.Builder
- Specified by:
build
in interfaceSdkException.Builder
- Returns:
- The new
SdkException
.
-
-