Interface ResourceNotFoundException.Builder
-
- All Superinterfaces:
AwsServiceException.Builder,Buildable,CopyableBuilder<ResourceNotFoundException.Builder,ResourceNotFoundException>,DeadlineException.Builder,SdkBuilder<ResourceNotFoundException.Builder,ResourceNotFoundException>,SdkException.Builder,SdkPojo,SdkServiceException.Builder
- Enclosing class:
- ResourceNotFoundException
public static interface ResourceNotFoundException.Builder extends SdkPojo, CopyableBuilder<ResourceNotFoundException.Builder,ResourceNotFoundException>, DeadlineException.Builder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourceNotFoundException.BuilderawsErrorDetails(AwsErrorDetails awsErrorDetails)ResourceNotFoundException.Buildercause(Throwable cause)ResourceNotFoundException.Buildercontext(Map<String,String> context)Information about the resources in use when the exception was thrown.ResourceNotFoundException.Buildermessage(String message)ResourceNotFoundException.BuilderrequestId(String requestId)ResourceNotFoundException.BuilderresourceId(String resourceId)The identifier of the resource that couldn't be found.ResourceNotFoundException.BuilderresourceType(String resourceType)The type of the resource that couldn't be found.ResourceNotFoundException.BuilderstatusCode(int statusCode)ResourceNotFoundException.BuilderwritableStackTrace(Boolean writableStackTrace)-
Methods inherited from interface software.amazon.awssdk.awscore.exception.AwsServiceException.Builder
awsErrorDetails, build, clockSkew, clockSkew, extendedRequestId
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.exception.SdkException.Builder
cause, message, writableStackTrace
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.exception.SdkServiceException.Builder
extendedRequestId, requestId, statusCode
-
-
-
-
Method Detail
-
context
ResourceNotFoundException.Builder context(Map<String,String> context)
Information about the resources in use when the exception was thrown.
- Parameters:
context- Information about the resources in use when the exception was thrown.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceId
ResourceNotFoundException.Builder resourceId(String resourceId)
The identifier of the resource that couldn't be found.
- Parameters:
resourceId- The identifier of the resource that couldn't be found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
ResourceNotFoundException.Builder resourceType(String resourceType)
The type of the resource that couldn't be found.
- Parameters:
resourceType- The type of the resource that couldn't be found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsErrorDetails
ResourceNotFoundException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
- Specified by:
awsErrorDetailsin interfaceAwsServiceException.Builder- Specified by:
awsErrorDetailsin interfaceDeadlineException.Builder
-
message
ResourceNotFoundException.Builder message(String message)
- Specified by:
messagein interfaceAwsServiceException.Builder- Specified by:
messagein interfaceDeadlineException.Builder- Specified by:
messagein interfaceSdkException.Builder- Specified by:
messagein interfaceSdkServiceException.Builder
-
requestId
ResourceNotFoundException.Builder requestId(String requestId)
- Specified by:
requestIdin interfaceAwsServiceException.Builder- Specified by:
requestIdin interfaceDeadlineException.Builder- Specified by:
requestIdin interfaceSdkServiceException.Builder
-
statusCode
ResourceNotFoundException.Builder statusCode(int statusCode)
- Specified by:
statusCodein interfaceAwsServiceException.Builder- Specified by:
statusCodein interfaceDeadlineException.Builder- Specified by:
statusCodein interfaceSdkServiceException.Builder
-
cause
ResourceNotFoundException.Builder cause(Throwable cause)
- Specified by:
causein interfaceAwsServiceException.Builder- Specified by:
causein interfaceDeadlineException.Builder- Specified by:
causein interfaceSdkException.Builder- Specified by:
causein interfaceSdkServiceException.Builder
-
writableStackTrace
ResourceNotFoundException.Builder writableStackTrace(Boolean writableStackTrace)
- Specified by:
writableStackTracein interfaceDeadlineException.Builder- Specified by:
writableStackTracein interfaceSdkException.Builder- Specified by:
writableStackTracein interfaceSdkServiceException.Builder
-
-