@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AlreadyExistsException extends AWSBackupException
The required resource already exists.
AmazonServiceException.ErrorType
Constructor and Description |
---|
AlreadyExistsException(String message)
Constructs a new AlreadyExistsException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getArn()
|
String |
getCode() |
String |
getContext()
|
String |
getCreatorRequestId()
|
String |
getType()
|
void |
setArn(String arn)
|
void |
setCode(String code) |
void |
setContext(String context)
|
void |
setCreatorRequestId(String creatorRequestId)
|
void |
setType(String type)
|
AlreadyExistsException |
withArn(String arn)
|
AlreadyExistsException |
withCode(String code) |
AlreadyExistsException |
withContext(String context)
|
AlreadyExistsException |
withCreatorRequestId(String creatorRequestId)
|
AlreadyExistsException |
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 AlreadyExistsException(String message)
message
- Describes the error encountered.public void setCode(String code)
code
- public String getCode()
public AlreadyExistsException withCode(String code)
code
- public void setCreatorRequestId(String creatorRequestId)
creatorRequestId
- public String getCreatorRequestId()
public AlreadyExistsException withCreatorRequestId(String creatorRequestId)
creatorRequestId
- public void setArn(String arn)
arn
- public String getArn()
public AlreadyExistsException withArn(String arn)
arn
- public void setType(String type)
type
- public String getType()
public AlreadyExistsException withType(String type)
type
- public void setContext(String context)
context
- public String getContext()
public AlreadyExistsException withContext(String context)
context
-