Class RestartComponentResponse
- java.lang.Object
-
- software.amazon.awssdk.aws.greengrass.model.RestartComponentResponse
-
- All Implemented Interfaces:
EventStreamJsonMessage
public class RestartComponentResponse extends Object implements EventStreamJsonMessage
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPPLICATION_MODEL_TYPEstatic RestartComponentResponseVOID
-
Constructor Summary
Constructors Constructor Description RestartComponentResponse()
-
Method Summary
All 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.Object
getClass, notify, notifyAll, toString, wait, wait, wait
-
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 RestartComponentResponse VOID
-
-
Method Detail
-
getRestartStatus
public RequestStatus getRestartStatus()
-
getRestartStatusAsString
public String getRestartStatusAsString()
The status of the restart request.
-
setRestartStatus
public void setRestartStatus(String restartStatus)
The status of the restart request.
-
withRestartStatus
public RestartComponentResponse withRestartStatus(String restartStatus)
The status of the restart request.
-
setRestartStatus
public void setRestartStatus(RequestStatus restartStatus)
The status of the restart request.
-
withRestartStatus
public RestartComponentResponse withRestartStatus(RequestStatus restartStatus)
The status of the restart request.
-
getMessage
public String getMessage()
A message about why the component failed to restart, if the request failed.
-
setMessage
public void setMessage(String message)
A message about why the component failed to restart, if the request failed.
-
withMessage
public RestartComponentResponse withMessage(String message)
A message about why the component failed to restart, if the request failed.
-
getApplicationModelType
public String 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
-
-