Class ResourceNotFoundError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- software.amazon.awssdk.eventstreamrpc.model.EventStreamOperationError
-
- software.amazon.awssdk.aws.greengrass.model.GreengrassCoreIPCError
-
- software.amazon.awssdk.aws.greengrass.model.ResourceNotFoundError
-
- All Implemented Interfaces:
Serializable
,EventStreamJsonMessage
public class ResourceNotFoundError extends GreengrassCoreIPCError implements EventStreamJsonMessage
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
APPLICATION_MODEL_TYPE
static ResourceNotFoundError
VOID
-
Constructor Summary
Constructors Constructor Description ResourceNotFoundError()
ResourceNotFoundError(String errorMessage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object rhs)
String
getApplicationModelType()
Returns the named model type.String
getErrorTypeString()
String
getMessage()
Likely overridden by a specific field defined in service-operation modelString
getResourceName()
String
getResourceType()
int
hashCode()
void
setMessage(String message)
void
setResourceName(String resourceName)
void
setResourceType(String resourceType)
ResourceNotFoundError
withMessage(String message)
ResourceNotFoundError
withResourceName(String resourceName)
ResourceNotFoundError
withResourceType(String resourceType)
-
Methods inherited from class software.amazon.awssdk.aws.greengrass.model.GreengrassCoreIPCError
isClientError, isRetryable, isServerError
-
Methods inherited from class software.amazon.awssdk.eventstreamrpc.model.EventStreamOperationError
getErrorCode, getService
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Methods inherited from interface software.amazon.awssdk.eventstreamrpc.model.EventStreamJsonMessage
fromJson, isVoid, postFromJson, toPayload
-
-
-
-
Field Detail
-
APPLICATION_MODEL_TYPE
public static final String APPLICATION_MODEL_TYPE
- See Also:
- Constant Field Values
-
VOID
public static final ResourceNotFoundError VOID
-
-
Constructor Detail
-
ResourceNotFoundError
public ResourceNotFoundError(String errorMessage)
-
ResourceNotFoundError
public ResourceNotFoundError()
-
-
Method Detail
-
getErrorTypeString
public String getErrorTypeString()
- Specified by:
getErrorTypeString
in classGreengrassCoreIPCError
-
getMessage
public String getMessage()
Description copied from class:EventStreamOperationError
Likely overridden by a specific field defined in service-operation model- Overrides:
getMessage
in classEventStreamOperationError
- Returns:
- The message associated with the error
-
setMessage
public void setMessage(String message)
-
withMessage
public ResourceNotFoundError withMessage(String message)
-
getResourceType
public String getResourceType()
-
setResourceType
public void setResourceType(String resourceType)
-
withResourceType
public ResourceNotFoundError withResourceType(String resourceType)
-
getResourceName
public String getResourceName()
-
setResourceName
public void setResourceName(String resourceName)
-
withResourceName
public ResourceNotFoundError withResourceName(String resourceName)
-
getApplicationModelType
public String getApplicationModelType()
Description copied from interface:EventStreamJsonMessage
Returns the named model type. May be used for a header.- Specified by:
getApplicationModelType
in interfaceEventStreamJsonMessage
- Returns:
- the named model type
-
-