@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 attempted to update an EventSource Mapping in CREATING, or tried to delete a EventSource mapping currently in the UPDATING state.
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, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ResourceInUseException(String message)
message - Describes the error encountered.public void setType(String type)
type - public String getType()
public ResourceInUseException withType(String type)
type -