@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OpsItemRelatedItemAlreadyExistsException extends AWSSimpleSystemsManagementException
The Amazon Resource Name (ARN) is already associated with the OpsItem.
AmazonServiceException.ErrorType
Constructor and Description |
---|
OpsItemRelatedItemAlreadyExistsException(String message)
Constructs a new OpsItemRelatedItemAlreadyExistsException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getOpsItemId() |
String |
getResourceUri() |
void |
setOpsItemId(String opsItemId) |
void |
setResourceUri(String resourceUri) |
OpsItemRelatedItemAlreadyExistsException |
withOpsItemId(String opsItemId) |
OpsItemRelatedItemAlreadyExistsException |
withResourceUri(String resourceUri) |
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 OpsItemRelatedItemAlreadyExistsException(String message)
message
- Describes the error encountered.public void setResourceUri(String resourceUri)
resourceUri
- public String getResourceUri()
public OpsItemRelatedItemAlreadyExistsException withResourceUri(String resourceUri)
resourceUri
- public void setOpsItemId(String opsItemId)
opsItemId
- public String getOpsItemId()
public OpsItemRelatedItemAlreadyExistsException withOpsItemId(String opsItemId)
opsItemId
-