public VolumeRecoveryPointInfo unmarshall(JsonUnmarshallerContext context) throws Exception {
    VolumeRecoveryPointInfo volumeRecoveryPointInfo = new VolumeRecoveryPointInfo();

    int originalDepth = context.getCurrentDepth();
    String currentParentElement = context.getCurrentParentElement();
    int targetDepth = originalDepth + 1;

    JsonToken token = context.currentToken;
    if (token == null) token = context.nextToken();

    while (true) {
      if (token == null) break;

      if (token == FIELD_NAME || token == START_OBJECT) {
        if (context.testExpression("VolumeARN", targetDepth)) {
          context.nextToken();
          volumeRecoveryPointInfo.setVolumeARN(
              StringJsonUnmarshaller.getInstance().unmarshall(context));
        }
        if (context.testExpression("VolumeSizeInBytes", targetDepth)) {
          context.nextToken();
          volumeRecoveryPointInfo.setVolumeSizeInBytes(
              LongJsonUnmarshaller.getInstance().unmarshall(context));
        }
        if (context.testExpression("VolumeUsageInBytes", targetDepth)) {
          context.nextToken();
          volumeRecoveryPointInfo.setVolumeUsageInBytes(
              LongJsonUnmarshaller.getInstance().unmarshall(context));
        }
        if (context.testExpression("VolumeRecoveryPointTime", targetDepth)) {
          context.nextToken();
          volumeRecoveryPointInfo.setVolumeRecoveryPointTime(
              StringJsonUnmarshaller.getInstance().unmarshall(context));
        }
      } else if (token == END_ARRAY || token == END_OBJECT) {
        if (context.getLastParsedParentElement() == null
            || context.getLastParsedParentElement().equals(currentParentElement)) {
          if (context.getCurrentDepth() <= originalDepth) break;
        }
      }

      token = context.nextToken();
    }

    return volumeRecoveryPointInfo;
  }
 /**
  * @param volumeSizeInBytes
  * @return Returns a reference to this object so that method calls can be chained together.
  */
 public VolumeRecoveryPointInfo withVolumeSizeInBytes(Long volumeSizeInBytes) {
   setVolumeSizeInBytes(volumeSizeInBytes);
   return this;
 }