Class RestartComponentResponse

java.lang.Object
software.amazon.awssdk.aws.greengrass.model.RestartComponentResponse
All Implemented Interfaces:
EventStreamJsonMessage

public class RestartComponentResponse extends Object implements EventStreamJsonMessage
  • Field Details

  • Constructor Details

    • RestartComponentResponse

      public RestartComponentResponse()
  • Method Details

    • 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 interface EventStreamJsonMessage
      Returns:
      the named model type
    • equals

      public boolean equals(Object rhs)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object