Class UpdateThingShadowRequest

java.lang.Object
software.amazon.awssdk.aws.greengrass.model.UpdateThingShadowRequest
All Implemented Interfaces:
EventStreamJsonMessage

public class UpdateThingShadowRequest extends Object implements EventStreamJsonMessage
  • Field Details

  • Constructor Details

    • UpdateThingShadowRequest

      public UpdateThingShadowRequest()
  • Method Details

    • getThingName

      public String getThingName()
      The name of the thing.
    • setThingName

      public void setThingName(String thingName)
      The name of the thing.
    • withThingName

      public UpdateThingShadowRequest 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 UpdateThingShadowRequest withShadowName(String shadowName)
      The name of the shadow. To specify the thing's classic shadow, set this parameter to an empty string ("").
    • getPayload

      public byte[] getPayload()
      The request state document as a JSON encoded blob.
    • setPayload

      public void setPayload(byte[] payload)
      The request state document as a JSON encoded blob.
    • withPayload

      public UpdateThingShadowRequest withPayload(byte[] payload)
      The request state document as a JSON encoded blob.
    • getApplicationModelType

      public String getApplicationModelType()
      Description copied from interface: EventStreamJsonMessage
      Returns the named model type. May be used for a header.
      Specified by:
      getApplicationModelType in interface EventStreamJsonMessage
      Returns:
      the named model type
    • equals

      public boolean equals(Object rhs)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object