public ReplicaUpdate unmarshall(JsonUnmarshallerContext context) throws Exception { ReplicaUpdate replicaUpdate = new ReplicaUpdate();
public ReplicaUpdate unmarshall(JsonUnmarshallerContext context) throws Exception { AwsJsonReader reader = context.getReader(); if (!reader.isContainer()) { reader.skipValue(); return null; } ReplicaUpdate replicaUpdate = new ReplicaUpdate(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("Create")) { replicaUpdate.setCreate(CreateReplicaActionJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("Delete")) { replicaUpdate.setDelete(DeleteReplicaActionJsonUnmarshaller.getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return replicaUpdate; }
public ReplicaUpdate unmarshall(JsonUnmarshallerContext context) throws Exception { ReplicaUpdate replicaUpdate = new ReplicaUpdate();