Class PreComponentUpdateEvent
- java.lang.Object
 - 
- software.amazon.awssdk.aws.greengrass.model.PreComponentUpdateEvent
 
 
- 
- All Implemented Interfaces:
 EventStreamJsonMessage
public class PreComponentUpdateEvent extends Object implements EventStreamJsonMessage
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static StringAPPLICATION_MODEL_TYPEstatic PreComponentUpdateEventVOID 
- 
Constructor Summary
Constructors Constructor Description PreComponentUpdateEvent() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object rhs)StringgetApplicationModelType()Returns the named model type.StringgetDeploymentId()The ID of the AWS IoT Greengrass deployment that updates the component.inthashCode()BooleanisIsGgcRestarting()Whether or not Greengrass needs to restart to apply the update.voidsetDeploymentId(String deploymentId)The ID of the AWS IoT Greengrass deployment that updates the component.voidsetIsGgcRestarting(Boolean isGgcRestarting)Whether or not Greengrass needs to restart to apply the update.PreComponentUpdateEventwithDeploymentId(String deploymentId)The ID of the AWS IoT Greengrass deployment that updates the component.PreComponentUpdateEventwithIsGgcRestarting(Boolean isGgcRestarting)Whether or not Greengrass needs to restart to apply 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 PreComponentUpdateEvent VOID
 
 - 
 
- 
Method Detail
- 
getDeploymentId
public String getDeploymentId()
The ID of the AWS IoT Greengrass deployment that updates the component. 
- 
setDeploymentId
public void setDeploymentId(String deploymentId)
The ID of the AWS IoT Greengrass deployment that updates the component. 
- 
withDeploymentId
public PreComponentUpdateEvent withDeploymentId(String deploymentId)
The ID of the AWS IoT Greengrass deployment that updates the component. 
- 
isIsGgcRestarting
public Boolean isIsGgcRestarting()
Whether or not Greengrass needs to restart to apply the update. 
- 
setIsGgcRestarting
public void setIsGgcRestarting(Boolean isGgcRestarting)
Whether or not Greengrass needs to restart to apply the update. 
- 
withIsGgcRestarting
public PreComponentUpdateEvent withIsGgcRestarting(Boolean isGgcRestarting)
Whether or not Greengrass needs to restart to apply the update. 
- 
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
 
 
 - 
 
 -