@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NotServiceResourceErrorException extends AmazonFSxException
The resource specified for the tagging operation is not a resource type owned by Amazon FSx. Use the API of the relevant service to perform the operation.
AmazonServiceException.ErrorType
Constructor and Description |
---|
NotServiceResourceErrorException(String message)
Constructs a new NotServiceResourceErrorException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getResourceARN()
The Amazon Resource Name (ARN) of the non-Amazon FSx resource.
|
void |
setResourceARN(String resourceARN)
The Amazon Resource Name (ARN) of the non-Amazon FSx resource.
|
NotServiceResourceErrorException |
withResourceARN(String resourceARN)
The Amazon Resource Name (ARN) of the non-Amazon FSx resource.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public NotServiceResourceErrorException(String message)
message
- Describes the error encountered.public void setResourceARN(String resourceARN)
The Amazon Resource Name (ARN) of the non-Amazon FSx resource.
resourceARN
- The Amazon Resource Name (ARN) of the non-Amazon FSx resource.public String getResourceARN()
The Amazon Resource Name (ARN) of the non-Amazon FSx resource.
public NotServiceResourceErrorException withResourceARN(String resourceARN)
The Amazon Resource Name (ARN) of the non-Amazon FSx resource.
resourceARN
- The Amazon Resource Name (ARN) of the non-Amazon FSx resource.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.