Class UpdateStateRequest
- java.lang.Object
-
- software.amazon.awssdk.aws.greengrass.model.UpdateStateRequest
-
- All Implemented Interfaces:
EventStreamJsonMessage
public class UpdateStateRequest extends Object implements EventStreamJsonMessage
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPPLICATION_MODEL_TYPEstatic UpdateStateRequestVOID
-
Constructor Summary
Constructors Constructor Description UpdateStateRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object rhs)StringgetApplicationModelType()Returns the named model type.ReportedLifecycleStategetState()StringgetStateAsString()The state to set this component to.inthashCode()voidsetState(String state)The state to set this component to.voidsetState(ReportedLifecycleState state)The state to set this component to.UpdateStateRequestwithState(String state)The state to set this component to.UpdateStateRequestwithState(ReportedLifecycleState state)The state to set this component to.-
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 UpdateStateRequest VOID
-
-
Method Detail
-
getState
public ReportedLifecycleState getState()
-
getStateAsString
public String getStateAsString()
The state to set this component to.
-
setState
public void setState(String state)
The state to set this component to.
-
withState
public UpdateStateRequest withState(String state)
The state to set this component to.
-
setState
public void setState(ReportedLifecycleState state)
The state to set this component to.
-
withState
public UpdateStateRequest withState(ReportedLifecycleState state)
The state to set this component to.
-
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
-
-