Class StopComponentResponse
- java.lang.Object
-
- software.amazon.awssdk.aws.greengrass.model.StopComponentResponse
-
- All Implemented Interfaces:
EventStreamJsonMessage
public class StopComponentResponse extends Object implements EventStreamJsonMessage
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPPLICATION_MODEL_TYPEstatic StopComponentResponseVOID
-
Constructor Summary
Constructors Constructor Description StopComponentResponse()
-
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 stop, if the request failed.RequestStatusgetStopStatus()StringgetStopStatusAsString()The status of the stop request.inthashCode()voidsetMessage(String message)A message about why the component failed to stop, if the request failed.voidsetStopStatus(String stopStatus)The status of the stop request.voidsetStopStatus(RequestStatus stopStatus)The status of the stop request.StopComponentResponsewithMessage(String message)A message about why the component failed to stop, if the request failed.StopComponentResponsewithStopStatus(String stopStatus)The status of the stop request.StopComponentResponsewithStopStatus(RequestStatus stopStatus)The status of the stop 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 StopComponentResponse VOID
-
-
Method Detail
-
getStopStatus
public RequestStatus getStopStatus()
-
getStopStatusAsString
public String getStopStatusAsString()
The status of the stop request.
-
setStopStatus
public void setStopStatus(String stopStatus)
The status of the stop request.
-
withStopStatus
public StopComponentResponse withStopStatus(String stopStatus)
The status of the stop request.
-
setStopStatus
public void setStopStatus(RequestStatus stopStatus)
The status of the stop request.
-
withStopStatus
public StopComponentResponse withStopStatus(RequestStatus stopStatus)
The status of the stop request.
-
getMessage
public String getMessage()
A message about why the component failed to stop, if the request failed.
-
setMessage
public void setMessage(String message)
A message about why the component failed to stop, if the request failed.
-
withMessage
public StopComponentResponse withMessage(String message)
A message about why the component failed to stop, 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
-
-