Class RestartComponentResponse
- java.lang.Object
- 
- software.amazon.awssdk.aws.greengrass.model.RestartComponentResponse
 
- 
- All Implemented Interfaces:
- EventStreamJsonMessage
 
 public class RestartComponentResponse extends Object implements EventStreamJsonMessage 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringAPPLICATION_MODEL_TYPEstatic RestartComponentResponseVOID
 - 
Constructor SummaryConstructors Constructor Description RestartComponentResponse()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object rhs)StringgetApplicationModelType()Returns the named model type.StringgetMessage()A message about why the component failed to restart, if the request failed.RequestStatusgetRestartStatus()StringgetRestartStatusAsString()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.RestartComponentResponsewithMessage(String message)A message about why the component failed to restart, if the request failed.RestartComponentResponsewithRestartStatus(String restartStatus)The status of the restart request.RestartComponentResponsewithRestartStatus(RequestStatus restartStatus)The status of the restart request.- 
Methods inherited from class java.lang.ObjectgetClass, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface software.amazon.awssdk.eventstreamrpc.model.EventStreamJsonMessagefromJson, isVoid, postFromJson, toPayload
 
- 
 
- 
- 
- 
Field Detail- 
APPLICATION_MODEL_TYPEpublic static final String APPLICATION_MODEL_TYPE - See Also:
- Constant Field Values
 
 - 
VOIDpublic static final RestartComponentResponse VOID 
 
- 
 - 
Method Detail- 
getRestartStatuspublic RequestStatus getRestartStatus() 
 - 
getRestartStatusAsStringpublic String getRestartStatusAsString() The status of the restart request.
 - 
setRestartStatuspublic void setRestartStatus(String restartStatus) The status of the restart request.
 - 
withRestartStatuspublic RestartComponentResponse withRestartStatus(String restartStatus) The status of the restart request.
 - 
setRestartStatuspublic void setRestartStatus(RequestStatus restartStatus) The status of the restart request.
 - 
withRestartStatuspublic RestartComponentResponse withRestartStatus(RequestStatus restartStatus) The status of the restart request.
 - 
getMessagepublic String getMessage() A message about why the component failed to restart, if the request failed.
 - 
setMessagepublic void setMessage(String message) A message about why the component failed to restart, if the request failed.
 - 
withMessagepublic RestartComponentResponse withMessage(String message) A message about why the component failed to restart, if the request failed.
 - 
getApplicationModelTypepublic String getApplicationModelType() Description copied from interface:EventStreamJsonMessageReturns the named model type. May be used for a header.- Specified by:
- getApplicationModelTypein interface- EventStreamJsonMessage
- Returns:
- the named model type
 
 
- 
 
-