@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceInUseException extends AWSLambdaException
The operation conflicts with the resource's availability. For example, you tried to update an event source mapping in the CREATING state, or you tried to delete an event source mapping currently UPDATING.
AmazonServiceException.ErrorType
Constructor and Description |
---|
ResourceInUseException(String message)
Constructs a new ResourceInUseException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getType() |
void |
setType(String type) |
ResourceInUseException |
withType(String type) |
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ResourceInUseException(String message)
message
- Describes the error encountered.public void setType(String type)
type
- public String getType()
public ResourceInUseException withType(String type)
type
-