@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InvalidResourceStateException extends AWSBackupException
Backup is already performing an action on this recovery point. It can't perform the action you requested until the first action finishes. Try again later.
AmazonServiceException.ErrorType
Constructor and Description |
---|
InvalidResourceStateException(String message)
Constructs a new InvalidResourceStateException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
String |
getContext()
|
String |
getType()
|
void |
setCode(String code) |
void |
setContext(String context)
|
void |
setType(String type)
|
InvalidResourceStateException |
withCode(String code) |
InvalidResourceStateException |
withContext(String context)
|
InvalidResourceStateException |
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 InvalidResourceStateException(String message)
message
- Describes the error encountered.public void setCode(String code)
code
- public String getCode()
public InvalidResourceStateException withCode(String code)
code
- public void setType(String type)
type
- public String getType()
public InvalidResourceStateException withType(String type)
type
- public void setContext(String context)
context
- public String getContext()
public InvalidResourceStateException withContext(String context)
context
-