Class RestartComponentResponse
java.lang.Object
software.amazon.awssdk.aws.greengrass.model.RestartComponentResponse
- All Implemented Interfaces:
EventStreamJsonMessage
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the named model type.A message about why the component failed to restart, if the request failed.The status of the restart request.inthashCode()voidsetMessage(String message) A message about why the component failed to restart, if the request failed.voidsetRestartStatus(String restartStatus) The status of the restart request.voidsetRestartStatus(RequestStatus restartStatus) The status of the restart request.withMessage(String message) A message about why the component failed to restart, if the request failed.withRestartStatus(String restartStatus) The status of the restart request.withRestartStatus(RequestStatus restartStatus) The status of the restart request.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.awssdk.eventstreamrpc.model.EventStreamJsonMessage
fromJson, isVoid, postFromJson, toPayload
-
Field Details
-
APPLICATION_MODEL_TYPE
- See Also:
-
VOID
-
-
Constructor Details
-
RestartComponentResponse
public RestartComponentResponse()
-
-
Method Details
-
getRestartStatus
-
getRestartStatusAsString
The status of the restart request. -
setRestartStatus
The status of the restart request. -
withRestartStatus
The status of the restart request. -
setRestartStatus
The status of the restart request. -
withRestartStatus
The status of the restart request. -
getMessage
A message about why the component failed to restart, if the request failed. -
setMessage
A message about why the component failed to restart, if the request failed. -
withMessage
A message about why the component failed to restart, if the request failed. -
getApplicationModelType
Description copied from interface:EventStreamJsonMessageReturns the named model type. May be used for a header.- Specified by:
getApplicationModelTypein interfaceEventStreamJsonMessage- Returns:
- the named model type
-
equals
-
hashCode
public int hashCode()
-