Class ComponentUpdatePolicyEvents
- java.lang.Object
-
- software.amazon.awssdk.aws.greengrass.model.ComponentUpdatePolicyEvents
-
- All Implemented Interfaces:
EventStreamJsonMessage
public class ComponentUpdatePolicyEvents extends Object implements EventStreamJsonMessage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ComponentUpdatePolicyEvents.UnionMember
-
Field Summary
Fields Modifier and Type Field Description static String
APPLICATION_MODEL_TYPE
-
Constructor Summary
Constructors Constructor Description ComponentUpdatePolicyEvents()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object rhs)
String
getApplicationModelType()
Returns the named model type.PostComponentUpdateEvent
getPostUpdateEvent()
PreComponentUpdateEvent
getPreUpdateEvent()
ComponentUpdatePolicyEvents.UnionMember
getSetUnionMember()
Returns an indicator for which enum member is set.int
hashCode()
void
postFromJson()
If anything needs to be done in memory after parsing from JSON, override and perform it herevoid
selfDesignateSetUnionMember()
void
setPostUpdateEvent(PostComponentUpdateEvent postUpdateEvent)
void
setPreUpdateEvent(PreComponentUpdateEvent preUpdateEvent)
ComponentUpdatePolicyEvents
withPostUpdateEvent(PostComponentUpdateEvent postUpdateEvent)
ComponentUpdatePolicyEvents
withPreUpdateEvent(PreComponentUpdateEvent preUpdateEvent)
-
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, toPayload
-
-
-
-
Field Detail
-
APPLICATION_MODEL_TYPE
public static final String APPLICATION_MODEL_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPreUpdateEvent
public PreComponentUpdateEvent getPreUpdateEvent()
-
setPreUpdateEvent
public void setPreUpdateEvent(PreComponentUpdateEvent preUpdateEvent)
-
withPreUpdateEvent
public ComponentUpdatePolicyEvents withPreUpdateEvent(PreComponentUpdateEvent preUpdateEvent)
-
getPostUpdateEvent
public PostComponentUpdateEvent getPostUpdateEvent()
-
setPostUpdateEvent
public void setPostUpdateEvent(PostComponentUpdateEvent postUpdateEvent)
-
withPostUpdateEvent
public ComponentUpdatePolicyEvents withPostUpdateEvent(PostComponentUpdateEvent postUpdateEvent)
-
getSetUnionMember
public ComponentUpdatePolicyEvents.UnionMember getSetUnionMember()
Returns an indicator for which enum member is set. Can be used to convert to proper type.
-
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
-
selfDesignateSetUnionMember
public void selfDesignateSetUnionMember()
-
postFromJson
public void postFromJson()
Description copied from interface:EventStreamJsonMessage
If anything needs to be done in memory after parsing from JSON, override and perform it here- Specified by:
postFromJson
in interfaceEventStreamJsonMessage
-
-