Interface ExpiredTokenException.Builder
- All Superinterfaces:
Buildable,SdkClientException.Builder,SdkException.Builder,SdkPojo
- Enclosing class:
ExpiredTokenException
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Creates a newSdkExceptionwith the specified properties.Specifies the exception that caused this exception to occur.Specifies the details of this exception.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, writableStackTraceMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
message
Description copied from interface:SdkException.BuilderSpecifies the details of this exception.- Specified by:
messagein interfaceSdkClientException.Builder- Specified by:
messagein interfaceSdkException.Builder- Parameters:
message- The details of this exception.- Returns:
- This method for object chaining
-
cause
Description copied from interface:SdkException.BuilderSpecifies the exception that caused this exception to occur.- Specified by:
causein interfaceSdkClientException.Builder- Specified by:
causein interfaceSdkException.Builder- Parameters:
cause- The exception that caused this exception to occur.- Returns:
- This object for method chaining.
-
writableStackTrace
Description copied from interface:SdkException.BuilderSpecifies whether the stack trace in this exception can be written.- Specified by:
writableStackTracein interfaceSdkClientException.Builder- Specified by:
writableStackTracein interfaceSdkException.Builder- Parameters:
writableStackTrace- Whether the stack trace can be written.- Returns:
- This method for object chaining
-
build
ExpiredTokenException build()Description copied from interface:SdkException.BuilderCreates a newSdkExceptionwith the specified properties.- Specified by:
buildin interfaceBuildable- Specified by:
buildin interfaceSdkClientException.Builder- Specified by:
buildin interfaceSdkException.Builder- Returns:
- The new
SdkException.
-