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 String
APPLICATION_MODEL_TYPE
static RestartComponentResponse
VOID
-
Constructor Summary
Constructors Constructor Description RestartComponentResponse()
-
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
getMessage()
A message about why the component failed to restart, if the request failed.RequestStatus
getRestartStatus()
String
getRestartStatusAsString()
The status of the restart request.int
hashCode()
void
setMessage(String message)
A message about why the component failed to restart, if the request failed.void
setRestartStatus(String restartStatus)
The status of the restart request.void
setRestartStatus(RequestStatus restartStatus)
The status of the restart request.RestartComponentResponse
withMessage(String message)
A message about why the component failed to restart, if the request failed.RestartComponentResponse
withRestartStatus(String restartStatus)
The status of the restart request.RestartComponentResponse
withRestartStatus(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:EventStreamJsonMessage
Returns the named model type. May be used for a header.- Specified by:
getApplicationModelType
in interfaceEventStreamJsonMessage
- Returns:
- the named model type
-
-