public class ResourceInUseException extends AmazonServiceException
That resource is already in use. Please try another.
AmazonServiceException.ErrorType
Constructor and Description |
---|
ResourceInUseException(java.lang.String message)
Constructs a new ResourceInUseException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getResourceId()
The identifier for the resource.
|
java.lang.String |
getResourceType()
The type of resource.
|
void |
setResourceId(java.lang.String resourceId)
The identifier for the resource.
|
void |
setResourceType(java.lang.String resourceType)
The type of resource.
|
getErrorCode, getErrorMessage, getErrorType, getMessage, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRequestId, setServiceName, setStatusCode
isRetryable
public ResourceInUseException(java.lang.String message)
message
- Describes the error encountered.public java.lang.String getResourceType()
The type of resource.
Constraints:
Allowed Values: CONTACT, CONTACT_FLOW, INSTANCE, PARTICIPANT,
HIERARCHY_LEVEL, HIERARCHY_GROUP, USER
The type of resource.
ResourceType
public void setResourceType(java.lang.String resourceType)
The type of resource.
Constraints:
Allowed Values: CONTACT, CONTACT_FLOW, INSTANCE, PARTICIPANT,
HIERARCHY_LEVEL, HIERARCHY_GROUP, USER
resourceType
- The type of resource.
ResourceType
public java.lang.String getResourceId()
The identifier for the resource.
The identifier for the resource.
public void setResourceId(java.lang.String resourceId)
The identifier for the resource.
resourceId
- The identifier for the resource.
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.