/** * <p> * Thing indexing configuration. * </p> * * @param thingIndexingConfiguration * Thing indexing configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public GetIndexingConfigurationResult withThingIndexingConfiguration(ThingIndexingConfiguration thingIndexingConfiguration) { setThingIndexingConfiguration(thingIndexingConfiguration); return this; }
if (context.testExpression("thingIndexingConfiguration", targetDepth)) { context.nextToken(); getIndexingConfigurationResult.setThingIndexingConfiguration(ThingIndexingConfigurationJsonUnmarshaller.getInstance().unmarshall(context));
public GetIndexingConfigurationResult unmarshall(JsonUnmarshallerContext context) throws Exception { GetIndexingConfigurationResult getIndexingConfigurationResult = new GetIndexingConfigurationResult(); AwsJsonReader reader = context.getReader(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("thingIndexingConfiguration")) { getIndexingConfigurationResult .setThingIndexingConfiguration(ThingIndexingConfigurationJsonUnmarshaller .getInstance() .unmarshall(context)); } else if (name.equals("thingGroupIndexingConfiguration")) { getIndexingConfigurationResult .setThingGroupIndexingConfiguration(ThingGroupIndexingConfigurationJsonUnmarshaller .getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return getIndexingConfigurationResult; }
/** * <p> * Thing indexing configuration. * </p> * * @param thingIndexingConfiguration * Thing indexing configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public GetIndexingConfigurationResult withThingIndexingConfiguration(ThingIndexingConfiguration thingIndexingConfiguration) { setThingIndexingConfiguration(thingIndexingConfiguration); return this; }
public GetIndexingConfigurationResult unmarshall(JsonUnmarshallerContext context) throws Exception { GetIndexingConfigurationResult getIndexingConfigurationResult = new GetIndexingConfigurationResult(); AwsJsonReader reader = context.getReader(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("thingIndexingConfiguration")) { getIndexingConfigurationResult .setThingIndexingConfiguration(ThingIndexingConfigurationJsonUnmarshaller .getInstance() .unmarshall(context)); } else if (name.equals("thingGroupIndexingConfiguration")) { getIndexingConfigurationResult .setThingGroupIndexingConfiguration(ThingGroupIndexingConfigurationJsonUnmarshaller .getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return getIndexingConfigurationResult; }
if (context.testExpression("thingIndexingConfiguration", targetDepth)) { context.nextToken(); getIndexingConfigurationResult.setThingIndexingConfiguration(ThingIndexingConfigurationJsonUnmarshaller.getInstance().unmarshall(context));