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 String
APPLICATION_MODEL_TYPE
static StopComponentResponse
VOID
-
Constructor Summary
Constructors Constructor Description StopComponentResponse()
-
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 stop, if the request failed.RequestStatus
getStopStatus()
String
getStopStatusAsString()
The status of the stop request.int
hashCode()
void
setMessage(String message)
A message about why the component failed to stop, if the request failed.void
setStopStatus(String stopStatus)
The status of the stop request.void
setStopStatus(RequestStatus stopStatus)
The status of the stop request.StopComponentResponse
withMessage(String message)
A message about why the component failed to stop, if the request failed.StopComponentResponse
withStopStatus(String stopStatus)
The status of the stop request.StopComponentResponse
withStopStatus(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:EventStreamJsonMessage
Returns the named model type. May be used for a header.- Specified by:
getApplicationModelType
in interfaceEventStreamJsonMessage
- Returns:
- the named model type
-
-