Class DeferComponentUpdateRequest

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

public class DeferComponentUpdateRequest extends Object implements EventStreamJsonMessage
  • Field Details

  • Constructor Details

    • DeferComponentUpdateRequest

      public DeferComponentUpdateRequest()
  • Method Details

    • getDeploymentId

      public String getDeploymentId()
      The ID of the AWS IoT Greengrass deployment to defer.
    • setDeploymentId

      public void setDeploymentId(String deploymentId)
      The ID of the AWS IoT Greengrass deployment to defer.
    • withDeploymentId

      public DeferComponentUpdateRequest withDeploymentId(String deploymentId)
      The ID of the AWS IoT Greengrass deployment to defer.
    • getMessage

      public String getMessage()
      (Optional) The name of the component for which to defer updates. Defaults to the name of the component that makes the request.
    • setMessage

      public void setMessage(String message)
      (Optional) The name of the component for which to defer updates. Defaults to the name of the component that makes the request.
    • withMessage

      public DeferComponentUpdateRequest withMessage(String message)
      (Optional) The name of the component for which to defer updates. Defaults to the name of the component that makes the request.
    • getRecheckAfterMs

      public Long getRecheckAfterMs()
      The amount of time in milliseconds for which to defer the update. Greengrass waits for this amount of time and then sends another PreComponentUpdateEvent
    • setRecheckAfterMs

      public void setRecheckAfterMs(Long recheckAfterMs)
      The amount of time in milliseconds for which to defer the update. Greengrass waits for this amount of time and then sends another PreComponentUpdateEvent
    • withRecheckAfterMs

      public DeferComponentUpdateRequest withRecheckAfterMs(Long recheckAfterMs)
      The amount of time in milliseconds for which to defer the update. Greengrass waits for this amount of time and then sends another PreComponentUpdateEvent
    • 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