Interface NonRetryableException.Builder
- 
- All Superinterfaces:
- Buildable,- SdkClientException.Builder,- SdkException.Builder
 - All Known Implementing Classes:
- NonRetryableException.BuilderImpl
 - Enclosing class:
- NonRetryableException
 
 public static interface NonRetryableException.Builder extends SdkClientException.Builder 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description NonRetryableExceptionbuild()Creates a newSdkExceptionwith the specified properties.NonRetryableException.Buildercause(Throwable cause)Specifies the exception that caused this exception to occur.NonRetryableException.Buildermessage(String message)Specifies the details of this exception.NonRetryableException.BuildernumAttempts(Integer numAttempts)NonRetryableException.BuilderwritableStackTrace(Boolean writableStackTrace)Specifies whether the stack trace in this exception can be written.- 
Methods inherited from interface software.amazon.awssdk.core.exception.SdkException.Buildercause, message, numAttempts, writableStackTrace
 
- 
 
- 
- 
- 
Method Detail- 
messageNonRetryableException.Builder message(String message) Description copied from interface:SdkException.BuilderSpecifies the details of this exception.- Specified by:
- messagein interface- SdkClientException.Builder
- Specified by:
- messagein interface- SdkException.Builder
- Parameters:
- message- The details of this exception.
- Returns:
- This method for object chaining
 
 - 
causeNonRetryableException.Builder cause(Throwable cause) Description copied from interface:SdkException.BuilderSpecifies the exception that caused this exception to occur.- Specified by:
- causein interface- SdkClientException.Builder
- Specified by:
- causein interface- SdkException.Builder
- Parameters:
- cause- The exception that caused this exception to occur.
- Returns:
- This object for method chaining.
 
 - 
writableStackTraceNonRetryableException.Builder writableStackTrace(Boolean writableStackTrace) Description copied from interface:SdkException.BuilderSpecifies whether the stack trace in this exception can be written.- Specified by:
- writableStackTracein interface- SdkClientException.Builder
- Specified by:
- writableStackTracein interface- SdkException.Builder
- Parameters:
- writableStackTrace- Whether the stack trace can be written.
- Returns:
- This method for object chaining
 
 - 
numAttemptsNonRetryableException.Builder numAttempts(Integer numAttempts) - Specified by:
- numAttemptsin interface- SdkClientException.Builder
- Specified by:
- numAttemptsin interface- SdkException.Builder
- Parameters:
- numAttempts- The attempt count
- Returns:
- This method for object chaining
 
 - 
buildNonRetryableException build() Description copied from interface:SdkException.BuilderCreates a newSdkExceptionwith the specified properties.- Specified by:
- buildin interface- Buildable
- Specified by:
- buildin interface- SdkClientException.Builder
- Specified by:
- buildin interface- SdkException.Builder
- Returns:
- The new SdkException.
 
 
- 
 
-