Interface ResourceNotFoundException.Builder
- All Superinterfaces:
- AwsServiceException.Builder,- Buildable,- CopyableBuilder<ResourceNotFoundException.Builder,,- ResourceNotFoundException> - IotException.Builder,- SdkBuilder<ResourceNotFoundException.Builder,,- ResourceNotFoundException> - SdkException.Builder,- SdkPojo,- SdkServiceException.Builder
- Enclosing class:
- ResourceNotFoundException
@Mutable
@NotThreadSafe
public static interface ResourceNotFoundException.Builder
extends SdkPojo, CopyableBuilder<ResourceNotFoundException.Builder,ResourceNotFoundException>, IotException.Builder 
- 
Method SummaryModifier and TypeMethodDescriptionawsErrorDetails(AwsErrorDetails awsErrorDetails) Specifies the additional awsErrorDetails from the service response.Specifies the exception that caused this exception to occur.Specifies the details of this exception.numAttempts(Integer numAttempts) Specifies the requestId returned by the called service.statusCode(int statusCode) Specifies the status code returned by the service.writableStackTrace(Boolean writableStackTrace) Specifies whether the stack trace in this exception can be written.Methods inherited from interface software.amazon.awssdk.awscore.exception.AwsServiceException.BuilderawsErrorDetails, build, clockSkew, clockSkew, extendedRequestIdMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.exception.SdkException.Buildercause, message, numAttempts, writableStackTraceMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.exception.SdkServiceException.BuilderextendedRequestId, requestId, statusCode
- 
Method Details- 
awsErrorDetailsDescription copied from interface:AwsServiceException.BuilderSpecifies the additional awsErrorDetails from the service response.- Specified by:
- awsErrorDetailsin interface- AwsServiceException.Builder
- Specified by:
- awsErrorDetailsin interface- IotException.Builder
- Parameters:
- awsErrorDetails- Object containing additional details from the response.
- Returns:
- This object for method chaining.
 
- 
messageDescription copied from interface:SdkException.BuilderSpecifies the details of this exception.- Specified by:
- messagein interface- AwsServiceException.Builder
- Specified by:
- messagein interface- IotException.Builder
- Specified by:
- messagein interface- SdkException.Builder
- Specified by:
- messagein interface- SdkServiceException.Builder
- Parameters:
- message- The details of this exception.
- Returns:
- This method for object chaining
 
- 
requestIdDescription copied from interface:SdkServiceException.BuilderSpecifies the requestId returned by the called service.- Specified by:
- requestIdin interface- AwsServiceException.Builder
- Specified by:
- requestIdin interface- IotException.Builder
- Specified by:
- requestIdin interface- SdkServiceException.Builder
- Parameters:
- requestId- A string that identifies the request made to a service.
- Returns:
- This object for method chaining.
 
- 
statusCodeDescription copied from interface:SdkServiceException.BuilderSpecifies the status code returned by the service.- Specified by:
- statusCodein interface- AwsServiceException.Builder
- Specified by:
- statusCodein interface- IotException.Builder
- Specified by:
- statusCodein interface- SdkServiceException.Builder
- Parameters:
- statusCode- an int containing the status code returned by the service.
- Returns:
- This method for object chaining.
 
- 
causeDescription copied from interface:SdkException.BuilderSpecifies the exception that caused this exception to occur.- Specified by:
- causein interface- AwsServiceException.Builder
- Specified by:
- causein interface- IotException.Builder
- Specified by:
- causein interface- SdkException.Builder
- Specified by:
- causein interface- SdkServiceException.Builder
- Parameters:
- cause- The exception that caused this exception to occur.
- Returns:
- This object for method chaining.
 
- 
writableStackTraceDescription copied from interface:SdkException.BuilderSpecifies whether the stack trace in this exception can be written.- Specified by:
- writableStackTracein interface- IotException.Builder
- Specified by:
- writableStackTracein interface- SdkException.Builder
- Specified by:
- writableStackTracein interface- SdkServiceException.Builder
- Parameters:
- writableStackTrace- Whether the stack trace can be written.
- Returns:
- This method for object chaining
 
- 
numAttempts- Specified by:
- numAttemptsin interface- AwsServiceException.Builder
- Specified by:
- numAttemptsin interface- IotException.Builder
- Specified by:
- numAttemptsin interface- SdkException.Builder
- Specified by:
- numAttemptsin interface- SdkServiceException.Builder
- Parameters:
- numAttempts- The attempt count
- Returns:
- This method for object chaining
 
 
-