Class DeferComponentUpdateRequest
- java.lang.Object
-
- software.amazon.awssdk.aws.greengrass.model.DeferComponentUpdateRequest
-
- All Implemented Interfaces:
EventStreamJsonMessage
public class DeferComponentUpdateRequest extends Object implements EventStreamJsonMessage
-
-
Field Summary
Fields Modifier and Type Field Description static String
APPLICATION_MODEL_TYPE
static DeferComponentUpdateRequest
VOID
-
Constructor Summary
Constructors Constructor Description DeferComponentUpdateRequest()
-
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
getDeploymentId()
The ID of the AWS IoT Greengrass deployment to defer.String
getMessage()
(Optional) The name of the component for which to defer updates.Long
getRecheckAfterMs()
The amount of time in milliseconds for which to defer the update.int
hashCode()
void
setDeploymentId(String deploymentId)
The ID of the AWS IoT Greengrass deployment to defer.void
setMessage(String message)
(Optional) The name of the component for which to defer updates.void
setRecheckAfterMs(Long recheckAfterMs)
The amount of time in milliseconds for which to defer the update.DeferComponentUpdateRequest
withDeploymentId(String deploymentId)
The ID of the AWS IoT Greengrass deployment to defer.DeferComponentUpdateRequest
withMessage(String message)
(Optional) The name of the component for which to defer updates.DeferComponentUpdateRequest
withRecheckAfterMs(Long recheckAfterMs)
The amount of time in milliseconds for which to defer the update.-
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 DeferComponentUpdateRequest VOID
-
-
Method Detail
-
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 interfaceEventStreamJsonMessage
- Returns:
- the named model type
-
-