public ReEncryptResult unmarshall(JsonUnmarshallerContext context) throws Exception { ReEncryptResult reEncryptResult = new ReEncryptResult();
public ReEncryptResult unmarshall(JsonUnmarshallerContext context) throws Exception { ReEncryptResult reEncryptResult = new ReEncryptResult(); AwsJsonReader reader = context.getReader(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("CiphertextBlob")) { reEncryptResult.setCiphertextBlob(ByteBufferJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("SourceKeyId")) { reEncryptResult.setSourceKeyId(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("KeyId")) { reEncryptResult.setKeyId(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return reEncryptResult; }
public ReEncryptResult unmarshall(JsonUnmarshallerContext context) throws Exception { ReEncryptResult reEncryptResult = new ReEncryptResult(); AwsJsonReader reader = context.getReader(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("CiphertextBlob")) { reEncryptResult.setCiphertextBlob(ByteBufferJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("SourceKeyId")) { reEncryptResult.setSourceKeyId(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("KeyId")) { reEncryptResult.setKeyId(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return reEncryptResult; }
public ReEncryptResult unmarshall(JsonUnmarshallerContext context) throws Exception { ReEncryptResult reEncryptResult = new ReEncryptResult(); AwsJsonReader reader = context.getReader(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("CiphertextBlob")) { reEncryptResult.setCiphertextBlob(ByteBufferJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("SourceKeyId")) { reEncryptResult.setSourceKeyId(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("KeyId")) { reEncryptResult.setKeyId(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return reEncryptResult; }
public ReEncryptResult unmarshall(JsonUnmarshallerContext context) throws Exception { ReEncryptResult reEncryptResult = new ReEncryptResult();
public ReEncryptResult unmarshall(JsonUnmarshallerContext context) throws Exception { ReEncryptResult reEncryptResult = new ReEncryptResult();