Class ShadowStateFactory

java.lang.Object
software.amazon.awssdk.iot.ShadowStateFactory
All Implemented Interfaces:
com.google.gson.TypeAdapterFactory

public class ShadowStateFactory extends Object implements com.google.gson.TypeAdapterFactory
Factory class for converting ShadowStates to and from packet payloads
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> com.google.gson.TypeAdapter<T>
    create(com.google.gson.Gson gson, com.google.gson.reflect.TypeToken<T> type)
    Creates a new TypeAdapter for conversion to and from packet payloads

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ShadowStateFactory

      public ShadowStateFactory()
  • Method Details

    • create

      public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson, com.google.gson.reflect.TypeToken<T> type)
      Creates a new TypeAdapter for conversion to and from packet payloads
      Specified by:
      create in interface com.google.gson.TypeAdapterFactory