@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UnsupportedInventoryItemContextException extends AWSSimpleSystemsManagementException
The Context
attribute that you specified for the InventoryItem
isn't allowed for this
inventory type. You can only use the Context
attribute with inventory types like
AWS:ComplianceItem
.
AmazonServiceException.ErrorType
Constructor and Description |
---|
UnsupportedInventoryItemContextException(String message)
Constructs a new UnsupportedInventoryItemContextException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getTypeName() |
void |
setTypeName(String typeName) |
UnsupportedInventoryItemContextException |
withTypeName(String typeName) |
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 UnsupportedInventoryItemContextException(String message)
message
- Describes the error encountered.public void setTypeName(String typeName)
typeName
- public String getTypeName()
public UnsupportedInventoryItemContextException withTypeName(String typeName)
typeName
-