Interface ResourceNotFoundException.Builder
-
- All Superinterfaces:
AwsServiceException.Builder
,Buildable
,CopyableBuilder<ResourceNotFoundException.Builder,ResourceNotFoundException>
,DataExchangeException.Builder
,SdkBuilder<ResourceNotFoundException.Builder,ResourceNotFoundException>
,SdkException.Builder
,SdkPojo
,SdkServiceException.Builder
- Enclosing class:
- ResourceNotFoundException
public static interface ResourceNotFoundException.Builder extends SdkPojo, CopyableBuilder<ResourceNotFoundException.Builder,ResourceNotFoundException>, DataExchangeException.Builder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourceNotFoundException.Builder
awsErrorDetails(AwsErrorDetails awsErrorDetails)
ResourceNotFoundException.Builder
cause(Throwable cause)
ResourceNotFoundException.Builder
message(String message)
ResourceNotFoundException.Builder
requestId(String requestId)
ResourceNotFoundException.Builder
resourceId(String resourceId)
The unique identifier for the resource that couldn't be found.ResourceNotFoundException.Builder
resourceType(String resourceType)
The type of resource that couldn't be found.ResourceNotFoundException.Builder
resourceType(ResourceType resourceType)
The type of resource that couldn't be found.ResourceNotFoundException.Builder
statusCode(int statusCode)
ResourceNotFoundException.Builder
writableStackTrace(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.exception.SdkServiceException.Builder
extendedRequestId, requestId, statusCode
-
-
-
-
Method Detail
-
resourceId
ResourceNotFoundException.Builder resourceId(String resourceId)
The unique identifier for the resource that couldn't be found.
- Parameters:
resourceId
- The unique identifier for 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 resource that couldn't be found.
- Parameters:
resourceType
- The type of resource that couldn't be found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceType
,ResourceType
-
resourceType
ResourceNotFoundException.Builder resourceType(ResourceType resourceType)
The type of resource that couldn't be found.
- Parameters:
resourceType
- The type of resource that couldn't be found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceType
,ResourceType
-
awsErrorDetails
ResourceNotFoundException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
- Specified by:
awsErrorDetails
in interfaceAwsServiceException.Builder
- Specified by:
awsErrorDetails
in interfaceDataExchangeException.Builder
-
message
ResourceNotFoundException.Builder message(String message)
- Specified by:
message
in interfaceAwsServiceException.Builder
- Specified by:
message
in interfaceDataExchangeException.Builder
- Specified by:
message
in interfaceSdkException.Builder
- Specified by:
message
in interfaceSdkServiceException.Builder
-
requestId
ResourceNotFoundException.Builder requestId(String requestId)
- Specified by:
requestId
in interfaceAwsServiceException.Builder
- Specified by:
requestId
in interfaceDataExchangeException.Builder
- Specified by:
requestId
in interfaceSdkServiceException.Builder
-
statusCode
ResourceNotFoundException.Builder statusCode(int statusCode)
- Specified by:
statusCode
in interfaceAwsServiceException.Builder
- Specified by:
statusCode
in interfaceDataExchangeException.Builder
- Specified by:
statusCode
in interfaceSdkServiceException.Builder
-
cause
ResourceNotFoundException.Builder cause(Throwable cause)
- Specified by:
cause
in interfaceAwsServiceException.Builder
- Specified by:
cause
in interfaceDataExchangeException.Builder
- Specified by:
cause
in interfaceSdkException.Builder
- Specified by:
cause
in interfaceSdkServiceException.Builder
-
writableStackTrace
ResourceNotFoundException.Builder writableStackTrace(Boolean writableStackTrace)
- Specified by:
writableStackTrace
in interfaceDataExchangeException.Builder
- Specified by:
writableStackTrace
in interfaceSdkException.Builder
- Specified by:
writableStackTrace
in interfaceSdkServiceException.Builder
-
-