setKeyType(keyType); return this;
setKeyType(keyType);
setKeyType(keyType.toString());
keySchemaElement.setKeyType(context.getUnmarshaller(String.class).unmarshall(context));
setKeyType(keyType.toString());
public KeySchemaElement unmarshall(JsonUnmarshallerContext context) throws Exception { AwsJsonReader reader = context.getReader(); if (!reader.isContainer()) { reader.skipValue(); return null; } KeySchemaElement keySchemaElement = new KeySchemaElement(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("AttributeName")) { keySchemaElement.setAttributeName(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("KeyType")) { keySchemaElement.setKeyType(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return keySchemaElement; }
setKeyType(keyType); return this;
setKeyType(keyType.toString());
keySchemaElement.setKeyType(context.getUnmarshaller(String.class).unmarshall(context));