Class GetThingShadowRequest
- java.lang.Object
-
- software.amazon.awssdk.aws.greengrass.model.GetThingShadowRequest
-
- All Implemented Interfaces:
EventStreamJsonMessage
public class GetThingShadowRequest extends Object implements EventStreamJsonMessage
-
-
Field Summary
Fields Modifier and Type Field Description static String
APPLICATION_MODEL_TYPE
static GetThingShadowRequest
VOID
-
Constructor Summary
Constructors Constructor Description GetThingShadowRequest()
-
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
getShadowName()
The name of the shadow.String
getThingName()
The name of the thing.int
hashCode()
void
setShadowName(String shadowName)
The name of the shadow.void
setThingName(String thingName)
The name of the thing.GetThingShadowRequest
withShadowName(String shadowName)
The name of the shadow.GetThingShadowRequest
withThingName(String thingName)
The name of the thing.-
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 GetThingShadowRequest VOID
-
-
Method Detail
-
getThingName
public String getThingName()
The name of the thing.
-
setThingName
public void setThingName(String thingName)
The name of the thing.
-
withThingName
public GetThingShadowRequest withThingName(String thingName)
The name of the thing.
-
getShadowName
public String getShadowName()
The name of the shadow. To specify the thing's classic shadow, set this parameter to an empty string ("").
-
setShadowName
public void setShadowName(String shadowName)
The name of the shadow. To specify the thing's classic shadow, set this parameter to an empty string ("").
-
withShadowName
public GetThingShadowRequest withShadowName(String shadowName)
The name of the shadow. To specify the thing's classic shadow, set this parameter to an empty string ("").
-
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
-
-